i had the same probem, i fixed it by writing this noob script:p
:loop
cd c:\miner
start powershell.exe c:\miner\start_sgminer.bat
TIMEOUT 3600
taskkill /im sgminer.exe /F >nul
taskkill /im powershell.exe /F >nul
goto loop
it restarts sgminer every 1h
I am trying this out now but i cant get it to work.
Not sure if i am doing it right though.
I placed a copy of my sgminer folder in c:\miner
Inside it i made a new batch file called loop with:
loop
cd c:\miner
start powershell.exe c:\miner\start_sgminer.bat
TIMEOUT 3600
taskkill /im sgminer.exe /F >nul
taskkill /im powershell.exe /F >nul
goto loop
When i fire loop batch file up it would launch sgminer right ? and restart it in 60 minutes.
But all that happends is that the countdown starts without sgminer launches.
If i start sgminer first and the loop up after it will kill sgminer when the countdown ends but not start it up again.
What am i doing wrong here ?
EDIT. I found another solution that is working here:
http://hardforum.com/showthread.php?t=1796598&page=74Post: 1466