anacron does not run cron.daily reliably
Hello,
I have one machine here on which cron.daily is not run reliably with anacron.
I see in
rd@blackbox:~/Managed/LinuxInst$ grep cron.daily /var/log/syslog
Dec 1 22:55:11 blackbox anacron[14161]: Job `cron.daily' terminated (mailing
output)
rd@blackbox:~/Managed/LinuxInst$
i.e. it run last time 4 days ago.
I got
blackbox:~# systemctl status anacron.service
● anacron.service - Run anacron jobs
Loaded: loaded (/lib/systemd/system/anacron.service; enabled)
Active: inactive (dead) since Mo 2014-12-01 22:55:22 CET; 4 days ago
Main PID: 14161 (code=exited, status=0/SUCCESS)
blackbox:~#
I have systems on which this setup seems to work nicely. Although the system
runs Debian for a long time and has seen a few Debian upgrades, I am not aware
that I did anacron related changes on this system.
Here is anacrontab
blackbox:~# cat /etc/anacrontab
# /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
HOME=/root
LOGNAME=root
# These replace cron's entries
1 5 cron.daily run-parts --report /etc/cron.daily
7 10 cron.weekly run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly run-parts --report /etc/cron.monthly
blackbox:~#
Any hint what could be different at this system is welcome.
Many thanks,
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Reply to: