On Jul 21, 2008, at 7:31 PM, James G. Sack (jim) wrote:
Unless I'm mistaken, anacron runs on boot and according to man anacron "When there are no more jobs to be run, Anacron exits"means that it does no further checking until the next time it is startedby an init.d script.
[EMAIL PROTECTED](pts/1):~ 22 # find /etc/cron* -type f -exec grep -l anacron "{}" \;
/etc/cron.daily/0anacron /etc/cron.monthly/0anacron /etc/cron.weekly/0anacron This is on a CentOS 5.2 system.Cron will kick anacron off, worst case, once a day at about 3AM (about when the periodic stuff gets run.)
Doing a more thorough search:[EMAIL PROTECTED](pts/1):/etc 29 # find /etc -path /etc/selinux -prune -o - type f -exec grep -l anacron "{}" \;
/etc/cron.weekly/0anacron /etc/cron.monthly/0anacron /etc/cron.daily/0anacron /etc/prelink.cache /etc/readahead.d/default.early /etc/anacrontab /etc/rc.d/init.d/anacron /etc/sysconfig/apm-scripts/apmscript /etc/sysconfig/apmdNote, with keen interest, the last two items. I have not checked the particulars, but I'm willing to bet that they will take care of kicking anacron after a sleep/wake cycle.
I'm also willing to bet that similar scripts exist on other Linux distributions (notably Ubuntu.)
Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
PGP.sig
Description: This is a digitally signed message part
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
