Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set Software Update check frequency in Mountain Lion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Software Update check frequency in Mountain Lion
Authored by: dilvish1984 on Aug 27, '12 08:49:28AM

If you don't mind a little terminal-fu, this should also work:

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ScheduleFrequency 1


[ Reply to This | # ]
Set Software Update check frequency in Mountain Lion
Authored by: slb on Aug 27, '12 12:36:14PM

That's:

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate.plist ScheduleFrequency 1
Might want to also hit:
sudo defaults write ~/Library/Preferences/com.apple.SoftwareUpdate.plist ScheduleFrequency 1

Not sure which takes precedent?"

sb



[ Reply to This | # ]
Set Software Update check frequency in Mountain Lion
Authored by: dilvish1984 on Aug 27, '12 01:14:01PM

Interesting: On Lion at least, you have to leave the ".plist" off to get the command to work (although it fails silently with the extension on there...) I'm really surprised Apple would change a behavior as basic as that between Lion and Mountain Lion.

(Oh, and again on Lion at least, not only does the /Library/Preferences plist take precedence, it is the only one that affects the desired change at all...)

Edited on Aug 27, '12 01:19:05PM by dilvish1984



[ Reply to This | # ]
Re: Set Software Update check frequency in Mountain Lion
Authored by: Uncle Asad on Aug 27, '12 02:26:27PM

Note that using defaults to write to arbitrary plist files using a path has been deprecated for some time (since at least 10.3), with a warning in the manpage, and there have been recent rumblings that Apple intends to follow through on its promise to break that feature.

PlistBuddy is a supported command-line tool for manipulating arbitrary plists (alas, with a more complex syntax, IMO).



[ Reply to This | # ]