Bitcoin Forum
December 18, 2017, 12:58:32 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [xmr-stak] Any simple script for restarting computer if mining stops?  (Read 283 times)
dazbog835
Member
**
Offline Offline

Activity: 98


View Profile
July 31, 2017, 12:39:14 PM
 #1

I'm running xmr-stak on a computer and I was thinking if there is a way I could detect when xmr stak stops running or the connection isn't there anymore.

This happens once a day maybe, and it's usually that xmr-stak is open, but it froze on a certain timestamp. It doesn't respond to commands like hashrate or connection.

Currently I have it set up so that it starts every time the computer boots (win10x64), and keeps attempting to run it every 5 minutes if there isn't one running atm. So a simple hack could be to just somehow detect if the program is still running, and if it's not, it would restart in 5 minutes automatically...

Any advice?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!