package: anacron
version: 2.3-13.1

This bug was originally filed in Launchpad at
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/382315

"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."

The Launchpad bug has been confirmed in anacron version 2.3-13.1 (Ubuntu
10.04).




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to