Posted By

rhockens on 08/26/07


Tagged

Bash osx logs darwin sysadmin periodic


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

basicmagic


periodic (Mac OS X Maintenance Scripts)


 / Published in: Bash
 

URL: http://www.thexlab.com/faqs/maintscripts.html

"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script.

If your Mac is shut down or in sleep mode during these hours, the maintenance scripts will not run. This results in log files that will grow over time, consuming free space on your Mac OS X startup disk.

If your Mac is shut down or left in sleep mode overnight, you need to invoke these maintenance routines manually on a regular basis. That is, unless you plan on devoting a large portion of your hard drive to the files cleaned-up by these routines!"

  1. sudo periodic daily weekly monthly

Report this snippet  

You need to login to post a comment.