taskkill /f /im genoil.exe
timeout /t 2
genoil.exe -c zec.suprnova.cc:2142 -u miner.name -p password -P 0 -g 0 1 2
I than put this in my task scheduler to run this batch file every 10 minutes. Damn it's doing really good. Not only that if you tell it to run even when not logged in the console window is hidden. I than setup a trigger for startup and login. This way if someone does reboot my system than it will start back up.
Do you mind outlining your entire procedure with task scheduler ? I haven't used it in ages and would rather not reinvent the wheel. My genoil craps out every so often - but it's your setup that allows the miner to resume on reboot that I am particularly interested in.
Sure.
General Tab: Run whether user is logged on or not (note console will be hidden with this command)
Triggers: 2 different triggers. One for System Startup and the other for Log on of any user
action: Start a program (point to batch file. make sure you have the start in point to that directory or batch file will not run)
Conditions: As long as any network connection is available
Settings: allow task to be run on demand; Run task as soon as possible, run a new instance in parallel (last one is important as batch has the kill command)