How to turn off the auto updatedb and run it manually?
Yin Ming
yinming at mdc-ds.com
Fri Oct 15 03:58:53 UTC 2004
On Fri, 15 Oct 2004 10:52:09 +0800
Ed Greshko <Ed.Greshko at greshko.com> wrote:
> Yin Ming wrote:
> > Hi, boys.
>
> Careful...some of the readers may be "girls". :-)
Hope that's ture!
>
> > My box is pretty old, so running a updatedb (for locate DB) is a bit
> > slow and takes too much cpu time. I seldom install something or move
> > files, and, in fact, I rarely use locate. So it's not necessary to run
> > updatedb every day.
> >
> > I search /etc/rc.d, and those profiles in /etc, but didn't find anyone
> > calling updatedb, so I don't know how to make it not run everyday
> > automatically, or change its frequency to a week once. Where can I set
> > its schedule of updatedb?
>
> Have a look in /etc/cron.daily. The slocate.cron scipt can be relocated
> to /etc/cron.weekly.
Oh, it's there. I thought it's in /var/spool/cron..., but nothing found.,
A BSD book taught me cron's schedule files were there.
More information about the redhat-list
mailing list