updatedb every morning at 6.30am

Corey Bettenhausen corey at 31415926535.com
Wed Aug 3 06:02:55 UTC 2005


Sean Miller wrote:
> Anybody able to help me here... as it's really bothering me...
> 
> I'm an early morning person... I like getting up around 5.30 or 6am and 
> doing some work before anybody else gets up...
> 
> But at 6.30am *every* morning some job called "updatedb" (which I think 
> is tied into the locate command, but I may be wrong) kicks off and 
> absolutely cripples my PC.
> 
> I cannot work out what's making it do this... I assumed cron, as that is 
> the way that scheduled jobs normally run in Linux/Unix but...
> 
> seanmiller at ubuntu:~ $ su -
> Password:
> root at ubuntu:~ # crontab -l
> no crontab for root
> root at ubuntu:~ # logout
> seanmiller at ubuntu:~ $
> 
> So now I'm at a lost... the question is...
> 
> a) how is this running; and
> b) how do I change it to something more appropriate; say, once a week on 
> a Saturday morning at 3am...  ?
> 
> Any help gratefully received :-)
> 
> Sean
> 

That is run by cron.daily.  See /etc/cron.daily/slocate and /etc/crontab.
-Corey




More information about the ubuntu-users mailing list