Re: anacron does not work in FC6



On Sat, 10 Mar 2007 11:05:26 +0100, hihihi
<See@xxxxxxxxxxxx> wrote:



O, Wise people,

Just installed FC 6 re-spin 20070111.

I copied the /etc/anacrontab from fc5 to fc6.

# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
1 15 cron.daily run-parts /etc/cron.daily
7 35 cron.weekly run-parts /etc/cron.weekly
30 45 cron.monthly run-parts /etc/cron.monthly

Running KDE.
Deamon is ON.

# chkconfig --list anacron
anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off

The cron.daily jobs should be done 15 minutes after the computer is switched
on.
Worked perfectly with previous fc version.

Now my backup script in /etc/cron.daily does not run automatically.
When the backup script is started manually from the /etc/cron.daily then the
script run well.

What could be wrong ?
Why aren't the anacron jobs been done ?

Do you have an /etc/cron.d/anacron file? Mine looks like this (I'm
running Xubuntu Dapper):

# /etc/cron.d/anacron: crontab entries for the anacron package

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron start >/dev/null



--
NOBODY EXPECTS THE SPANISH INQUISITION!
.



Relevant Pages

  • anacron does not work in FC6
    ... # /etc/anacrontab: configuration file for anacron ... Now my backup script in /etc/cron.daily does not run automatically. ... Why aren't the anacron jobs been done? ...
    (comp.os.linux.misc)
  • Re: anacron does not work in FC6
    ... When the backup script is started manually from the /etc/cron.daily then ... What happens if you remove the anacron timestamp files in /var/spool/anacron ... What error messages is anacron reporting? ...
    (comp.os.linux.misc)
  • Re: anacron and cron and laptop usage
    ... anacron might not run if the machine is suspended. ... My first guess was that run-parts was used by acpid, ... And yes - I am running kde - and thus the generic wakeup included ...
    (Ubuntu)