Skip to content

Instantly share code, notes, and snippets.

@brandt
Created January 10, 2014 16:24
Show Gist options
  • Save brandt/8357388 to your computer and use it in GitHub Desktop.
Save brandt/8357388 to your computer and use it in GitHub Desktop.
Homebrew automatic formula updater daemon. Install to: ~/Library/LaunchAgents/com.runlevel1.homebrew.update.plist
<?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.runlevel1.homebrew.update</string>
<key>EnvironmentVariables</key>
<dict>
<key>TERM</key>
<string>ansi</string>
</dict>
<key>Nice</key>
<integer>18</integer>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/brew</string>
<string>update</string>
</array>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>12</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<dict>
<key>Hour</key>
<integer>0</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<dict>
<key>Hour</key>
<integer>18</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment