Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: MACROMOLECULE on January 23, 2014, 09:03:15 PM



Title: A way to auto-close then auto-restart cgminer?
Post by: MACROMOLECULE on January 23, 2014, 09:03:15 PM
I have failover only set up with about 4 pools set as backups but without fail, maybe once a day my miner will just stop for no apparent reason while I'm at work or while sleeping.  It will stop while connecting to a pool, or after it has detected a new block, or a multitude of other reasons.  It's not temperature or hardware related as my cards don't get above 80C with a fan on them.  I will return to my miner with cgminer still open but the GPU has stopped and the temps are back to resting state around 40C.  I will see that the last "event" was, for instance, at 03:45:27 and I'll wake up at 06:30 and have missed out on three hours of mining.  Basically what I'm asking is if there's a way (script or whatever) that can close cgminer and restart it if it detects the GPU% has dropped or if cgminer has stopped submitting shares? I'm tired of going to work just to have my miner stop at 9am and I cant get back home to restart it until 6pm.  Any ideas of what is happening or what I could do? Thanks!


Title: Re: A way to auto-close then auto-restart cgminer?
Post by: Galgenfrist on January 23, 2014, 09:32:30 PM
You might want to try CGWatcher. It can restart your miner if the hashrate falls below a certain value, or if the number of accepted shares doesn't change for X minutes.


Title: Re: A way to auto-close then auto-restart cgminer?
Post by: MACROMOLECULE on January 23, 2014, 10:08:40 PM
How have I not known about this. You are amazing.