nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 584 forks source link

Auto Reboot / Start #310

Open SuperCDN opened 7 years ago

SuperCDN commented 7 years ago

Hi guys, you can help me for auto reboot / start every hour, on Linux (Ubuntu)

:start start "Miner Window" %executable% %commandline% echo: echo The software will run for %runforseconds% seconds timeout %runforseconds% taskkill /f /im %executable% echo: echo Restarting the software in %restartinseconds% seconds (%counter%) timeout %restartinseconds% set /a counter+=1 echo: echo: goto start

piriya33 commented 6 years ago

why? I just put a bash in startup app. tell the bash to restart miner everytime it dies

Amonomen commented 6 years ago

That looks like a bat file for windows. Definitely isn't bash syntax.