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


Click here to return to the 'Scripts to enable cron tasks to run on time' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Scripts to enable cron tasks to run on time
Authored by: blalor on Mar 29, '04 11:33:46AM
Wouldn't anacron be much easier?

I took anacron a step further by wrapping it with a script that check to see if I'm on battery or not, and doesn't run if I am. Repairing disk permissions when running on battery at reduced CPU isn't real pretty. :-) I'm using this battery script to check my battery status.

[ Reply to This | # ]
anacron
Authored by: SeanAhern on Mar 29, '04 05:10:24PM

I have to second the suggestion of anacron. Very standard, very useful, and it was designed for this type of thing. Available from fink.

I've set up cron to run anacron every 5 minutes. Thus, within 5 minutes of my computer waking up, my jobs fire. I use it all the time.



[ Reply to This | # ]
Scripts to enable cron tasks to run on time
Authored by: spfolly on Mar 30, '04 08:04:25AM

Thirded, but there is an OS X package which does the whole installation so you don't have to worry about building it yourself:

http://www.alastairs-place.net/anacron.html



[ Reply to This | # ]