For those who have problems with cgminer crashes time by time, this is how I "fixed" this problem, with a batch file that checks If cgminer process is running and if it's not running it will call a batch file.
This is batch file
@echo off
for /f "usebackq" %%Z in (`tasklist /nh /fi "imagename eq cgminer.exe"`) do if %%Z==INFO: goto processnotrunning
echo cgminer is running
exit
:processnotrunning
call start_cgminer.bat
exit
Save this as
cgminer_checker.bat and save it to same folder to the cgminer, and let it be another batch file
start_cgminer.bat, where you have cgminer paramters.
Now add to schedule
cgminer_checker.bat to run let's say every 30 minutes, you have options 5,10,15,30 minutes and 1 hour, and at specific time you select the batch file will check for cgminer.exe process and start if it's crashed, this is how I 'fixed' this problem, instead of checking every xx minutes cgminer has crashed or not