On Jan 26, 2008, at 4:45 AM, Guillaume Gete wrote:
Le 24 janv. 08 à 18:52, Stranathan, Dan a écrit :
It seems in fact you're right, I went too fast reading the options.
However, I managed to find out how it works :
Switching on or off this option is performed in ~/Library/
Preferences/ByHost/com.apple.scheduler.<MACADDRESS>.plist. The
dictionary "Timer" in it has a property "date" which is normally the
next time the check will be performed. If you switch the schedule
off in System Preferences, the date is changed to 01/01/01... Thus
the next check will never be performed.
The "defaults" command to be used to perform this change manually is
an exercise left for the reader :-)
Perhaps I'm missing something, but why use defaults? I'd use "softwareupdate --schedule off" instead.
Good call Ted, but is that a global command for all users or localized to each user domain?
|