Today Minercontrol just closed itself, and nothing in error.log, soo just made this basic batch to check if Minercontrol is runing, if not, kill nvminer/ccminer/sgminer as you want, and restart Minercontrol in auto mode:
CheckMC.batTaskList | findstr /c:MinerControl.exe > nul
If %errorlevel%== 0 goto end
Taskkill /IM nvminer.exe
cd C:\Where\MinerControl\Is\
start MinerControl.exe -a
:end
Run this batch with your windows scheduler to check every 5 - 10 - 30 or 60min
While there, another batch that perhaps some will find usefull.
Sometimes my graphic driver crash, and mining is way slower soo found a way on google to restart driver without rebooting computer.I'm running this batch every 24h:
Get the file: devmanview.exe from
Nirsoft, move it to ..\windows\system32\ and run it.
Get your device name by opening devmanview.exe: right mouse click and select Properties on your video device.
Copy "DEVICE NAME" to clipboard for use in the script: for example: "NVIDIA GeForce GTX 750 Ti" or "AMD Radeon HD 7900 Series" Open notepad and copy paste this code:
DriverRestart.bat@echo off
echo.
echo *** Restarting GPU
timeout /t 2 /nobreak >nul
start devmanview.exe /disable_enable "NVIDIA GeForce GTX 750 Ti"
echo.
echo *** DoNe
timeout /t 2 /nobreak >nul
taskkill /f /IM explorer.exe
start explorer.exe
exit