2008/7/21 Gregory K. Ruiz-Ade <[EMAIL PROTECTED]>:
>
> 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/apmd
>
>
> Note, 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.)
Looks like you found the right place. Inside
/etc/sysconfig/apm-scripts/apmscript we read:
# Finally, run anacron to catch up cron stuff we missed...
# If anacron is installed and we're on AC power or we want
# to run it even in battery mode.
So you have to change a configuration file if you want anacron to run
when you are on battery power. Which I suppose is the usual case for
the suspended system.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list