FS#13587 - anacron should put timestamp updating scripts in /etc/cron.{daily,weekly,monthly}
Attached to Project:
Community Packages
Opened by Paride Legovini (torn) - Friday, 27 February 2009, 19:24 GMT
Last edited by Eric Belanger (Snowman) - Friday, 01 May 2009, 05:57 GMT
Opened by Paride Legovini (torn) - Friday, 27 February 2009, 19:24 GMT
Last edited by Eric Belanger (Snowman) - Friday, 01 May 2009, 05:57 GMT
|
Details
By default anacron honors the script in
/etc/cron.{daily,weekly,monthly}. This is good, but if cron
and anacron are both running it happens that these scripts
get runt two consecutive times, one time by cron, one time
by anacron.
In these directories there should be a script that updates the anacron's timestamps for that specific job, e.g. /etc/cron.daily/00anacron: ---- #!/bin/sh # # Updates anacron time stamps. test -x /usr/sbin/anacron || exit 0 anacron -u cron.daily ---- The script is called 00anacron to assure that it will be executed before the other scripts. |
This task depends upon
Closed by Eric Belanger (Snowman)
Friday, 01 May 2009, 05:57 GMT
Reason for closing: Implemented
Additional comments about closing: implemented in anacron 2.3-9
Friday, 01 May 2009, 05:57 GMT
Reason for closing: Implemented
Additional comments about closing: implemented in anacron 2.3-9