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: simsamsep on Mar 18, '05 04:44:25PM
I have been using the cronaid script in Jaguar and Panther and it works perfectly. You never need to think about the three maintenance scripts again, no user action needed at all, no startup items, no application. The jobs will automatically be executed daily, weekly and monthly when your machine is awake.

From its ReadMe:
cronaid will check to see if your maintenance scripts have not been run and will run them when the computer is awake. If they have been run, it does nothing.

For each of the three system maintenance scripts (daily, weekly, monthly) cronaid checks the date on the log of output for the script against the last time the script should have been run. The time is calculated by looking at the entry for the script in the system crontab file. If the script run is overdue, it is run. More precisely, the exact command entered in the crontab file is executed. This way it is exactly as if cron had run the entry had the computer been on.

[ Reply to This | # ]
cronaid
Authored by: sjk on Apr 03, '05 10:17:15PM
Thanks for the cronaid reference. Minor correction -- it's not a script:
% file cronaid
cronaid: Mach-O executable ppc


[ Reply to This | # ]