Post
Topic
Board Mining (Altcoins)
Re: CCminer(SP-MOD) Modded NVIDIA Maxwell kernels.
by
bensam1231
on 13/09/2015, 17:43:33 UTC
Hi guys need help how can automaticly ccminer restart if the miner stops is there a program or a comand to control that?

Thx in advance

The easiest (and dirtiest) way is to have your miner batch file run in a loop:
:start
ccminer.exe ...
goto start


and have another batch loop running which restarts ccminer periodically:
:start
timeout -t 1800
taskkill -t -f /im ccminer.exe
goto start


That will restart ccminer every 1800 seconds (30 minutes).

That's beautiful... If only a program like MultiMiner was compatible with CCminer... Last I checked it was because CCminer doesn't have a API so other programs can't hook into it.

Wouldn't the first batchfile continually start up lots of instances of ccminer as there isn't a timer and it's a loop? Does it check to see if one instance is running?