- Place homebrewupdate.sh where ever you like, I use ~/bin/homebrewupdate.sh
- Place the .plist file in ~/Library/LaunchAgents and update the path to your bash script
- run
launchctl load ~/Library/LaunchAgents/com.jb510.homebrewupdate.plist
or whatever you've named your plist file. - check
launchctl list | grep jb510
to see that it's running
Note: You might need to chmod +x homebrewupdate.sh
Note 2: you can run this manually to test your script ~/bin/homebrewupdate.sh
Future: Update this to also update casks https://github.com/buo/homebrew-cask-upgrade or using brew cask list | xargs brew cask reinstall