up vote 1 down vote favorite
share [g+] share [fb]

Is it possible to set OS X Leopard to update my system automatically at a specific time, just like Windows does? Right now the Updater randomly pops up when there are updates and I have to manually 'approve' them for download.

link|improve this question

feedback

3 Answers

up vote 3 down vote accepted

You can set up a cron job to do this. Let me find the command to run.

Look up the command softwareupdate and schedule a cron job to run it.

http://www.thexlab.com/faqs/maintscripts.html -- Info on cron jobs.

link|improve this answer
What is the exact command I should use? I am not all the familiar with cron – joshhunt Jul 16 '09 at 2:11
feedback

If you go to System Preferences -> Software Update you can schedule how often to run. By default it will do an auto-update check once a week.

link|improve this answer
feedback

As root you can do:

crontab -e

Add this to install updates every Monday at 5PM:

# m  h  dom mon dow   command
  0 17   *   *   1   /usr/sbin/softwareupdate -i -a  >> /dev/null 2>&1
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.