Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Check system maintenance tasks at startup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Check system maintenance tasks at startup
Authored by: cwford on Mar 18, '05 10:37:42AM

Actually there is already an available utility to do this called 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 also works great for my powerbook where I generally put it to sleep instead of shutdown/reboot.

You can find the package at http://www.apple.com/downloads/macosx/unix_open_source/anacron.html



[ Reply to This | # ]
Check system maintenance tasks at startup
Authored by: jpbjpbjpbjpb on Mar 21, '05 10:58:03AM

I've been using anacron for years now to deal with cron tasks on my laptop.

It builds easily, but you can install it with fink too, if you're uncomfortable with the command line.



[ Reply to This | # ]