Bitcoin Forum
November 19, 2018, 06:57:09 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: [xmr-stak] Any simple script for restarting computer if mining stops?  (Read 326 times)
Offline Offline

Activity: 132
Merit: 10

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

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]
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!