Author

Topic: Batch files to periodically restart miner in Windows. (Read 862 times)

full member
Activity: 196
Merit: 100
I use two simple batchfiles to periodically restart my miner in Windows.
It's useful if your miner ever crashes when you are away from your computer.


miner.bat

:loop
cgminer xxxxxxxxxxxxxxxxxxxxxxxxxxxxx(relevant options go here)
GOTO loop



restart.bat

:loop
timeout /t 3600
tskill cgminer
GOTO loop


Run both of these batch files to restart your miner at the desired interval.
Jump to: