Jason Pyeron wrote:
Please send output of:
for i in /etc/crontab /var/spool/cron/*; do echo $i && cat $i; done
Thank you very much. That seems indeed to be the solution. On the first machine I have: ------------------------------------------- [root@helen tmp]# for i in /etc/crontab /var/spool/cron/*; do echo $i && cat $i; done /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/
# run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly
/var/spool/cron/root
SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/
# run-parts 01 * * * * run-parts /etc/cron.hourly 02 4 * * * run-parts /etc/cron.daily 22 4 * * 0 run-parts /etc/cron.weekly 42 4 1 * * run-parts /etc/cron.monthly ------------------------------------------- On the second machine I have ------------------------------------------- [root@althea tmp]# for i in /etc/crontab /var/spool/cron/*; do echo $i && cat $i; done /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/
# run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly /var/spool/cron/* cat: /var/spool/cron/*: No such file or directory -------------------------------------------
So it seems that entry at /var/spool/cron/root is the cause of the problem. I've no idea where it came from; I guess I must have copied at some time - I see the file is dated 1 March.