I've always
heard about these "background maintenance tasks" that OS X performs in its omniscient glory, but I never knew
much about what they actually were or when they were performed. This weekend I finally did some digging and thought I'd
post a few thoughts that might help give some Mac users insight into maintaining OS X beyond simple permissions repairs
and emptying the trash.In short, OS X is designed to periodically run various maintenance tasks such as purging log files and dumping hidden and temporary files. The only problem is that these tasks by default are scheduled to run early in the morning, when I'd bet most Mac users are sleeping. This odd task scheduling is a throwback to the days when computers were never shut off, even though a lot of computer users either shut their machines down or at least set them to sleep at the end of the day - especially notebook users.
So how can OS X still run these maintenance tasks and keep your Mac running squeaky clean, you ask? Well you have a few options:
- Like a
friend of mine, you could simply set your Mac to always be up and running, optionally sleeping itself after the
maintenance task schedule specified in this Apple
KnowledgeBase article. This certainly isn't an ideal solution if you own a portable and leave it in a bag often
overnight.
- You could use the simple Terminal instructions in this Apple KnowledgeBase article to run the tasks whenever you please. OS X's built-in schedule be damned!
- If you're on Tiger you could use the Maintenance Automator action (which we here at TUAW love) to run OS X's built in maintenance tasks, as well as a few extras such as permissions repairing and preference file verifying.













Reader Comments (Page 1 of 1)
12-21-2005 @ 3:22PM
paul said...
I use Macaroni. It keeps track of the scripts, and if your computer is off when they are schedules to run, it runs them for you the next time your computer is on. It's all automatic!
Macaroni - http://www.atomicbird.com/
Reply
12-21-2005 @ 7:44PM
Martin said...
The really easiest way is to install anacron ( http://members.cox.net/18james/anacron-tiger.html )
It runs the periodic jobs and also notices, when the computer was turned off during the regular time and will catch up on it.
Install once and forget about it, it does its magic automatically in the background.
And best of all, it does not cost a dime (anacron is an old GPLed UNIX tool)
Reply