Unfortunately I do not have an APC UPS (mine is Cyberpower) that I can hook into Unraid's built-in functionality. However I do have a spare raspberry pi. My idea was to essentially write a script that runs every minute on the Unraid server to ping the raspberry pi (not plugged into a UPS) - if it replies, the power is working so do nothing. If no reply, shut down Unraid. The script itself is a quick and easy to do. However I don't know what the best "supported" way to run this script within Unraid would be. In a standard flavor Linux install, I'd just make a cronjob and be done with it - is that supported with Unraid? I don't know if crontabs get rebuilt every time UnraidOS gets updated. Is there another way I should do this?