Regular job to update homebrew components.
A short description for installation
A short documentation of launchd can be found here: https://www.launchd.info/
Create the file sh.brew.update.plist in ~/Library/LaunchAgents.
Regular job to update homebrew components.
A short description for installation
A short documentation of launchd can be found here: https://www.launchd.info/
Create the file sh.brew.update.plist in ~/Library/LaunchAgents.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>sh.brew.update</string> | |
| <key>Program</key> | |
| <string>/usr/local/bin/brew</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>update</string> | |
| </array> | |
| <key>StartCalendarInterval</key> | |
| <dict> | |
| <key>Hour</key> | |
| <integer>9</integer> | |
| <key>Minute</key> | |
| <integer>0</integer> | |
| </dict> | |
| <key>StandardOutPath</key> | |
| <string>/tmp/sh.brew.update.out</string> | |
| <key>StandardErrorPath</key> | |
| <string>/tmp/sh.brew.update.err</string> | |
| </dict> | |
| </plist> |