Bitcoin Forum
June 19, 2024, 10:17:45 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [xmr-stak] Any simple script for restarting computer if mining stops?  (Read 409 times)
dazbog835 (OP)
Member
**
Offline Offline

Activity: 132
Merit: 10


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!