Last active
December 20, 2015 08:59
-
-
Save ShonFrazier/6104774 to your computer and use it in GitHub Desktop.
Automatically install updates on OS X every day
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
<!-- sudo DailySoftwareUpdate.plist /Library/LaunchDaemons/ --> | |
<!-- sudo launchctl load /Library/LaunchDaemons/DailySoftwareUpdate.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>DailySoftwareUpdate</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/sbin/softwareupdate</string> | |
<string>-i</string> | |
<string>-a</string> | |
</array> | |
<key>StartCalendarInterval</key> | |
<dict> | |
<key>Hour</key> | |
<integer>12</integer> | |
<key>Minute</key> | |
<integer>0</integer> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment