Skip to content

Instantly share code, notes, and snippets.

@bachue
Created April 16, 2014 14:20
Show Gist options
  • Save bachue/10883411 to your computer and use it in GitHub Desktop.
Save bachue/10883411 to your computer and use it in GitHub Desktop.
For Mac OS X, run `brew update` every hour. Copy this file to ~/Library/LaunchAgents/git.bachue.brewupdate.plist to install.
<?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>git.bachue.brewupdate</string>
<key>ProcessType</key>
<string>Background</string>
<key>EnvironmentVariables</key>
<dict>
<key>TERM</key>
<string>ansi</string>
</dict>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/brew</string>
<string>update</string>
</array>
<key>StartInterval</key>
<integer>3600</integer>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment