How can i autostart the miner with windows but sets a delay about 5mins after windows boot , i tried to make a batch file to load at startup then a timer in the batch starts the miner but it didn't the miner crashes
Anyone knows how to do it the right way?
timeout /t 300
What is the right start command you use after the timeout command , i used start "start batch path" but it crashes
I do it in this way. Here is the bat file that I just add to startup folder:
REM 1. allow 5 min for windows to settle
timeout /t 300
REM 2. send email notification to myself that miner restarted
powershell.exe -nonprofile -executionpolicy bypass -file C:\path_to_powershell_script.ps1
timeout /t 10
REM 3. load overclocks by OverdriveNtool
start cmd /k "cd C:\path_to_file_with_overclocks"
timeout /t 30
REM 4. start claymore
start cmd /k "cd C:\path_to_claymore_bat_file"