Open SuperCDN opened 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
why? I just put a bash in startup app. tell the bash to restart miner everytime it dies
That looks like a bat file for windows. Definitely isn't bash syntax.
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