the empty set

Asynchronous cron jobs

You are probably all aware that your Mac runs daily, weekly and monthly maintenance scripts to check the integrity of your system and clean it up.

The Unix subsystems on Mac OS X were originally written for machines that were typically never shut off. Mac OS X inherits this assumption in version 1.x, and has many system maintenance tasks that are scheduled to run between 3 am and 5 am. In addition, there are scripts designed to run weekly on weekends, and once a month in the middle of the night.
Orig. MacJanitor

Utilities such as MacJanitor or Cocktail solved this problem by allowing you to run them manually. But you still had to think of doing it. Another solution is to change the time and day at which they are supposed to run, hoping that your computer would powered on then. Utilities such as CronniX help you do right that and more -- you can also edit the cron table by hand.

Downloading the latest version of DéjàVu, I fell on a reference to Anacron:

Anacron is a periodic command scheduler. It executes commands at intervals specified in days. Unlike cron, it does not assume that the system is running continuously. It can therefore be used to control the execution of daily, weekly and monthly jobs (or anything with a period of n days), on systems that don't run 24 hours a day. When installed and configured properly, Anacron will make sure that the commands are run at the specified intervals as closely as machine-uptime permits.
It isn't a full-time daemon. It has to be executed from boot scripts, from cron-jobs, or explicitly.

Now this is just what I've been looking for for my AlPB which is seldom powered on at 3:00a. I changed the execution time of the maintenance scripts, but that doesn't help if the Mac is sleeping or off.. I'l give it a try and let you know.

Ø permalink:

Reponses to “Asynchronous cron jobs”

#1 by Joerg Windbichler

19:00 on 7 March 2004


i have been using Macaroni for quite some time now and i'm perfectly happy with it! I don't have to think of the cron jobs etc. at all!

just my two cents...


PS: thanks for the "mappy" tip. it's aweseome

#2 by Jenny Price

01:43 on 23 March 2004

Thanx, you really saved me with MacJanitor and Cocktail the've been really helpfull.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Previous: Address Book Map function in Europe

Next: March again


Hello, my name is David Roessli. I am a freelance web designer and developer based in Geneva, Switzerland.

This weblog is an nth attempt to solve my multiple online personalities and weblog/rss feeds burnout issues. (more)


I have been contemplating the idea of upgrading my desktop Mac since this spring. The latest 27" iMac (Quad-Core) seemed the perfect candidate, but the release of Apple's 27" Monitor last September made me stick with the Mac Pro...


The autopsy of an iconic album cover picked up on A stacked graph of successive radio signals from pulsar CP 1919, in a 1977 astronomy encyclopedia that originated in a 1970 Ph.D. thesis. Fascinating <3...


Check out my latest Flickr ramblings. Mostly day to day cameraphone pictures stolen here and there.

© 2000-2018 David Roessli | v4.1 | as valid xhtml and css as possible | hosted by Infomaniak | RSS feeds. Looking for my Privacy Policy ?