Created
January 31, 2018 16:43
-
-
Save venkatperi/ef4a652fde9a48bf8349a1eb48c2c900 to your computer and use it in GitHub Desktop.
home-brew LaunchAgent
This file contains hidden or 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>Disabled</key> | |
<false/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin</string> | |
</dict> | |
<key>Label</key> | |
<string>com.vperi.homebrew-update</string> | |
<key>LowPriorityIO</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/bash</string> | |
<string>-c</string> | |
<string>/usr/local/bin/brew update && /usr/local/bin/brew upgrade --cleanup && /usr/local/bin/terminal-notifier -t Homebrew -message 'Homebrew upgraded!' -timeout 10 -open file:///var/log/com.vperi.homebrew-update.log -group com.vperi.homebrew-update -appIcon https://cldup.com/1gFdoLk6Rg.png -contentImage https://cldup.com/YVZi9Cuvhv.png</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/Users/venkat/Library/Logs/com.vperi.homebrew-update.err.log</string> | |
<key>StandardOutPath</key> | |
<string>/Users/venkat/Library/Logs/com.vperi.homebrew-update.log</string> | |
<key>StartInterval</key> | |
<integer>86400</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment