Also isn't there a way to just have watchdog restart the miner if it goes unstable? that way even if it's close to stable but crashes every few days you don't stop mining until you notice/get notified?
What miner are you using? If it's Claymore for ETH you can make a reboot.bat and put -r 1 in your miner config bat.
-r Restart miner mode. "-r 0" (default) - restart miner if something wrong with GPU. "-r -1" - disable automatic restarting. -r >20 - restart miner if something
wrong with GPU or by timer. For example, "-r 60" - restart miner every hour or when some GPU failed.
"-r 1" closes miner and execute "reboot.bat" file ("reboot.bash" or "reboot.sh" for Linux version) in the miner directory (if exists) if some GPU failed.
So you can create "reboot.bat" file and perform some actions, for example, reboot system if you put this line there: "shutdown /r /t 5 /f".