periodic (Mac OS X Maintenance Scripts)

/ Published in: Bash
Save to your folder(s)

"...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!"

Copy this code and paste it in your HTML
  1. sudo periodic daily weekly monthly


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.