cron/anacron

Frank McCormick fmccormick at videotron.ca
Thu May 11 13:08:56 UTC 2006


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

On Wed, 10 May 2006 21:21:29 +0200
Alan McKinnon <alan at linuxholdings.co.za> wrote:

> On Wednesday 10 May 2006 03:36, Frank McCormick wrote:
> >   Seeing all the messages here about cron/anacron reminded me of a
> > question - how do I check to see if a job is being run? Anacron

//snip//

> 
> cron is a really good tool. You tell is to do something at 12 midnight 
> and it does it. The problem comes in when the machine is switched off 
> at midnight.

//snip//
> 
> 
> cron's config file is /etc/crontab
> anacron's config file is /etc/anacrontab
> The /etc/cron.*ly files have nothing whatsoever to do with cron or 
> anacron. They are config files for run-parts (a convenient way to run 
> several scripts rather than individual cron entries for each.
> Both cron and anacron run run-parts to do their thing.
> 

  Only one more question: what are the files in /var/spool/cron/crontabs used for ??? Are they the jobs for individual users? 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.

Thanks for that clear and detailed explanation. Although I've been using Ubuntu for 2 years...and Linux for 3+ I never understood the relationship.


- -- 
Cheers

Frank

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

iD8DBQFEYzdo8Rvr3Tn207ARAtBIAKCAiOL4JNTDBvi2D3FqA6XzdRkEWwCcDn5V
W3qYY6kQUjlCJ4/WBLyGmDs=
=kl6D
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list