Author

Topic: [xmr-stak] Any simple script for restarting computer if mining stops? (Read 430 times)

member
Activity: 132
Merit: 10
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?
Jump to: