1

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.

3

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.

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

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

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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