@douglaspitman I don't know how to use AppleScript, but this Automator calendar action backs up and reboots the hub.
https://www.dropbox.com/sh/zx53vrlkle7bxv3/AADloP2Ef651sUbMDx3H9jRxa?dl=0
Note that this doesn't work with login security, and all hubitat web page windows have to be closed for the reboot to work. Remember to open It in Automator and set your HubIP and destination folder. Then, you can add it to calendar. I would still recommend using the hubitat reboot app that installs right on the hubitat, such as this: