Created
February 8, 2022 01:27
-
-
Save methbkts/740aab8cb658a13f1ba13d63e8490fd2 to your computer and use it in GitHub Desktop.
Homebrew Autoupdate for macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>com.homebrew.update</string> | |
<key>ProcessType</key> | |
<string>Background</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>bash</string> | |
<string>-c</string> | |
<string>/usr/local/bin/brew update && /usr/local/bin/terminal-notifier -title 'Homebrew Updater' -message 'Homebrew updated!' -appIcon https://raw.githubusercontent.com/Homebrew/brew.sh/master/assets/img/brew.png</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true /> | |
<key>StandardErrorPath</key> | |
<string>/tmp/com.homebrew.update.stderr</string> | |
<key>StandardOutPath</key> | |
<string>/tmp/com.homebrew.update.stdout</string> | |
<key>StartCalendarInterval</key> | |
<array> | |
<dict> | |
<key>Hour</key> | |
<integer>8</integer> | |
</dict> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment