cron/anacron

Frank McCormick fmccormick at videotron.ca
Fri May 12 01:19:05 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 11 May 2006 11:07:07 -0300
Derek Broughton <news at pointerstop.ca> wrote:

> Frank McCormick wrote:
> 
> >> 
> >   Only one more question: what are the files in /var/spool/cron/crontabs
> >   used for ??? Are they the jobs for individual users? 
> 
> Yes.
> 
> >   If so, why does my 
> >   updatedb never get updated ? There is a job in there for me to updatedb
> >   and according to the man the syntax is correct.

> 
> You _personally_ run updatedb?  Generally it's run by root
> from /etc/cron.daily/slocate (which anacron does execute, and it visibly
> stalls my laptop 5 minutes after boot).  While I'm sure there are instances
> that you would want to run against some particular tree, I'm not sure the
> average user _can_.

   No the job is assigned to root, but apparently never runs because it seems whenever I use the db by looking for a file the system says warning the db is **whatever** days old. Apparently the only time it gets updated is when I run sudo updatedb.   


- -- 
Cheers

Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEY+KJ8Rvr3Tn207ARAoqJAJwMPd60vaAc3H9i+8L2fOI3ladRHgCfZAwn
U1ByoD94VtTI9K6NfxsjeEw=
=OFfU
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list