Title: Simple script to restart my miner Post by: c0ikws on April 08, 2013, 10:00:21 PM Once in a while, my mining stops for no reason ! What an annoyance to see I've not been mining the whole night !
This batch file restart my miner every hour (Guiminer set to autostart) :loop sleep 3600 Taskkill /IM guiminer.exe /F start E:\Guiminer\guiminer\guiminer.exe echo GuiMiner Restarted goto loop If you want to use it, create text file and paste. Change to your path of your guiminer.exe. Save and rename as .bat. Start ! Voila Title: Re: Simple script to restart my miner Post by: bitjet on April 11, 2013, 03:24:33 AM Once in a while, my mining stops for no reason ! What an annoyance to see I've not been mining the whole night ! This batch file restart my miner every hour (Guiminer set to autostart) :loop sleep 3600 Taskkill /IM guiminer.exe /F start E:\Guiminer\guiminer\guiminer.exe echo GuiMiner Restarted goto loop If you want to use it, create text file and paste. Change to your path of your guiminer.exe. Save and rename as .bat. Start ! Voila one problem.. sleep is not an actual command for batch files.. if you want to sleep you will have to get more creative. Like pinging a non existant location and timeing out for a certain amount of time. This will pause for 1 minute. ping 192.0.2.2 -n 1 -w 60000 > nul Title: Re: Simple script to restart my miner Post by: c0ikws on April 11, 2013, 12:53:30 PM Works for me on windows 7 ?
I downloaded sleep toolkit from win 2003 though |