Check the status of maintenance scripts on your Mac

Jun 16, 2010 - Leave a Comment

Your Mac runs a series of maintenance scripts on it’s own to clear out various cache and log files. To see when the scripts were last run, type the following at the command line:
ls -la /var/log/*.out
You will then see something like this:
-rw-r--r-- 1 root wheel 283124 16 Jun 02:15 /var/log/daily.out
-rw-r--r-- 1 root wheel 1143 1 Jun 05:37 /var/log/monthly.out
-rw-r--r-- 1 root wheel 2420 13 Jun 02:15 /var/log/weekly.out

If the scripts haven’t been run in a while and you feel like manually executing them, type the following:
sudo periodic daily weekly monthly
or you can specify just a single script to run:
sudo periodic weekly

Generally it’s unlikely you’ll need to run these scripts on your own.

.

Related articles:

Posted by: Manish Patel in Mac OS

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site