A question about anacron (ubuntu 8.10)

Chris G cl at isbd.net
Thu Feb 5 17:46:04 UTC 2009


On Thu, Feb 05, 2009 at 05:07:18PM +0000, Chris G wrote:
> What I can't find is a detailed description of what anacron does, e.g.
> *which* cron jobs it will run 'late' and whether it picks up user cron
> jobs as well as the ones in /etc/cron.xxx.
> 
Just to confirm that anacron does run 'late' cron jobs as expected on
a standard Ubuntu system.....

I have a pretty standard xubuntu 8.10 system and have a backup script
added to /etc/cron.daily (and, yes, it is executable).  I left it
turned off overnight and turned it on this afternoon.

... and here's the evidence:-

    syslog.0:Feb  5 16:33:59 maxine anacron[5939]: Anacron 2.3 started on 2009-02-05
    syslog.0:Feb  5 16:33:59 maxine anacron[5939]: Will run job `cron.daily' in 5 min.
    syslog.0:Feb  5 16:33:59 maxine anacron[5939]: Jobs will be executed sequentially
    syslog.0:Feb  5 16:38:56 maxine anacron[5939]: Job `cron.daily' started
    syslog.0:Feb  5 16:38:56 maxine anacron[6166]: Updated timestamp for job `cron.daily' to 2009-02-05
    syslog:Feb  5 17:38:34 maxine anacron[5939]: Normal exit (1 job run)

I turned the system on at about 16:30, anacron started the cron.daily
tasks at about 16:38 and they completed at 17:38 (including my backup).

-- 
Chris Green




More information about the ubuntu-users mailing list