This launch agent will automatically update & upgrade Homebrew every day. Upon success, it will send a notification.
UPDATED Nov 7 2023
- Install Homebrew.
- Install
terminal-notifier. Executebrew install terminal-notifier. - Copy the
.plistfile in this gist into~/Library/LaunchAgents/. - Execute
launchctl load ~/Library/LaunchAgents/org.boneskull.homebrew-upgrade.plist. Do not run this command with superuser privileges.
- Clicking on the thing should open the log file in whatever opens
.logfiles by default (usuallyConsole.app) - I've had something similar working from Yosemite through Sonoma.
- This launch agent will run at load, and every 24h thereafter.
- Report errors
- Better interaction