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


Click here to return to the 'A shell script to kill the updatedb process' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script to kill the updatedb process
Authored by: langer on Sep 22, '03 10:53:13PM
My Powerbook hasn't update the locate.database since July 2002. It's never on at 4:30am.

How can you reschedule the scripts for a time when it would be on?

Get anacron from fink. Anacron is more suitable than cron for computers that are off much of the time. Instead of running jobs at specific times (such as 4:30 AM on Saturday) it runs them if they haven't been run within a specified interval. For example, you could tell anacron to run updatedb once a week. It can be configured to run the scripts that cron usually runs.

I don't know why anacron isn't set up by default. It can actually be quite important. Until I installed it, my system log files were enormous -- they were never rotated or compressed because cron wanted to do that at 7 AM.

-- Steve

[ Reply to This | # ]

A shell script to kill the updatedb process
Authored by: foobar104 on Sep 23, '03 12:23:53AM

A much better suggestion is to get anacron from <a href="http://www.apple.com/downloads/macosx/unix_open_source/anacron.html">here</a>. That way you don't have to clutter your machine with Fink.



[ Reply to This | # ]