I have written two cron jobs which run on script0 as user controls. They log any front end restarts and produce daily reports of such restarts.
The logger runs every minute, the daily logger runs at 5 minutes past midnight.
Details are available in the wiki page:
https://lhocds.ligo-wa.caltech.edu/wiki/FrontEndModelRestartLogging
the code should be transparent to the front end model user except for the reboot.log file being removed within a minute of the restart completing.
The goal is to have the daily logger make a robo-log entry in the ALOG.