2008/7/21 Gregory K. Ruiz-Ade <[EMAIL PROTECTED]>:
> On Jul 21, 2008, at 4:22 PM, [EMAIL PROTECTED] wrote:
>
>
> From what I recall on a moderately recent Linux install on a laptop, anacron
> will run periodically through the day out of cron itself and "catch up" on
> things that were missed, I think.  I remember finding things kicking off via
> anacron after waking a laptop.
>
> Checking /etc/anacrontab on my CentOS system (whitespace trimmed):
>
>
> # /etc/anacrontab: configuration file for anacron
> # See anacron(8) and anacrontab(5) for details.
> SHELL=/bin/sh
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> 1       65      cron.daily              run-parts /etc/cron.daily
> 7       70      cron.weekly             run-parts /etc/cron.weekly
> 30      75      cron.monthly            run-parts /etc/cron.monthly
>
>
> So, it tries to catch up on the periodic stuff for you.

Interpretation of the fields in anacrontab:

daily;:    If it hasn't been run in the past 1 day, wait 65 minutes
and then do it.
weekly:  If  it hasn't been run in the past 7 days, wait 70 minutes . . .
monthly:  if it hasn't been run in the past 30 days, wait 75 minutes . . .

So if you leave your computer running for more than an hour or so
between sleeps, it should catch up.

    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

Reply via email to