You can create a .bat file with the following:


:restart

Timeout /t 30

ccminer -a keccak -o stratum+tcp://us-mine.smartcash.cc:3256 -u SMARTCASHADDRESS.WorkerName -p x

goto :restart




:restart and then goto :restart to start over from the :restart point

timeout /t 30 makes a pause of 30 seconds

The first 4 lines I wrote, basically makes and endless loop of waiting 30 seconds, starting ccminer, when ccminer stops it goes to :restart, waits 30 seconds starts ccminer ...etc