Title: Riecoin xptminer start script (ypool and others) Post by: baaaah on March 04, 2014, 11:23:02 PM I noticed that ypool.net is quite unstable at times and that sometimes xptminer would be stuck waiting for the pool to be reachable again.
The script checks every minute if xptminer is mining (CPU utilization of xptminer > 50%) and, if not, restarts it. The script can also be used for other pools/currencies. Put all files in the same directory and launch it from there with ./start-miner. It runs in background and logs output to miner.log. Use ./status to get some info. start-miner Code: #!/bin/bash miner.cfg Code: export RIC_USER=yourusername.yourworker status Code: #!/bin/bash stop-miner Code: #!/bin/bash restart-miner Code: #!/bin/bash Donations no matter how small are much appreciated. BTC 1PkWYuA6cgXwsFh1ggT52ZcMwSxjoBt6sY RIC: RJ5bZXAYx3mChkGGo6X2D56KLZvWunBojK |