cron/anacron

Frank McCormick fmccormick at videotron.ca
Thu May 11 13:13:14 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:

> 
> There is no problem with cron and anacron, the problem is that you 
> have not thought it through. How does anacron know when to run, and 
> what starts it? Easy! It is run once an hour... from cron! Once an 
> hour the system checks for tasks that were skipped.
> 
> 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.



   Sorry for the double reply but I just noticed there is no job entry in anacrontab for cron.hourly. There are entries for cron.daily, cron.weekly and cron.monthly. Is this why some job(s) never run ??

- -- 
Cheers

Frank

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

iD8DBQFEYzhq8Rvr3Tn207ARAtGKAJ98+hSn3UVVpWq0w9ktpvhGgcEROgCfc4MD
3dkj1hSVpliRALVSN0MpW4g=
=ItkY
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list