This is my reboot file
REM
REM Example bat file for starting PhoenixMiner.exe to mine ETH
REM
shutdown /r /t 5 /f
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
REM IMPORTANT: Replace the ETH address with your own ETH wallet address in the -wal option (Rig001 is the name of the rig)
PhoenixMiner.exe -pool eth-eu1.nanopool.org:9999 -pool2 eth-eu2.nanopool.org:9999 -ewal ethadress.rig01/mymail@gmail.com -epsw x -ftime 10 -rmode 2 -lidag 2 -wdog 1 -nvidia
pause
I hope to this correct
you know that everything thats after "shutdown /r /t 5 /f" is not executed, right ?
because the rig restarts and just follows your startup commands and not going forward with this reboot.bat file...
i mean, try changing the parameters of PhoenixMiner in this file, and you will see it has no effect, your original start,bat parameters will be used since its probably in your startup...
so, this would be enough
shutdown /r /t 5 /f
mine also includes another line to send me a telegram message when restarting, so looks like this:
(modified the send message command to remove personal stuff)
powershell.exe -command "(new-object net.webclient).DownloadString('https://api.telegram.org/botXXXXXX/sendMessage?parse_mode=markdown&chat_id=0000&text=MINER XXX is rebooting')"
shutdown /r /t 5 /f