Search This Blog

Sunday 25 April 2010

Mac: Maintenance Scripts

At the Terminal prompt, type the following, exactly as written:
 
sudo periodic daily weekly monthly
 
Press Return.

Type your Admin password when prompted, then press Return.
 
All three scripts will run in sequence. There is no visual feedback while the scripts execute. You will know they are completed when the Terminal prompt returns.

You can also run the scripts individually. For example, to run just the daily script, you would type the the following command in step 2:
  • sudo periodic daily