Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

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.

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

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
share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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