19de24bb527939f23bd1ec46777d2db4612d2689
The plist was a copy of homebrew-update, label included, so launchd never loaded it as a job of its own. Replace it with an osascript job that runs at 1:00 am and, for each of Chrome, Vivaldi and Floorp that is running, quits it the way Cmd-Q does, waits up to a minute for it to exit, then reopens it in the background. A browser held open by a quit prompt is left alone and logged.
MacOS Automations
These are some useful automations I wrote to automate the admin tasks on my developer workstation.
To install:
curl -L https://github.com/JMR-dev/mac_util_scripts/raw/refs/heads/main/setup_automations.sh | bash
Languages
Shell
100%