Public bug reported:

In my system (Hardy) the cron.daily scripts (etc/cron.daily/*) seems not
to be daily executed.

This is my /etc/crontab
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report 
/etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report 
/etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report 
/etc/cron.monthly )
#

This is my /etc/anacrontab

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

# These replace cron's entries
1 5 cron.daily nice run-parts --report /etc/cron.daily
7 10 cron.weekly nice run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly nice run-parts --report /etc/cron.monthly

In /var/log/syslog I correctly see
Apr 30 08:37:22 ramses anacron[6700]: Job `cron.daily' started
Apr 30 08:37:22 ramses anacron[7737]: Updated timestamp for job `cron.daily' to 
2009-04-30

but nothing seems having been executed.

If I manually launch
run-parts --report /etc/cron.daily
the scripts are correctly executed.

** Affects: anacron (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cron.daily doesn't execute scheduled scripts
https://bugs.launchpad.net/bugs/382315
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to