Today I noticed that
#24 was referencing a non-existent directory on my system (Ubuntu MATE 18.04.1 LTS bionic):
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.dayly )
Question: Can anyone confirm that there is in fact a typo, and if so whether the error resides in the crontab command or in the directory name?
/etc/crontabis the system-wide crontab file and
/etc/cron.dailyis normally called from there. In this file the spelling was as expected.
- root's crontab is empty by default and should not duplicate the system-wide file.
- At first it appeared as if daily cron didn't fire because there was no entry in
/var/log/syslog. A search further back, however, did yield a consecutive sequence of entries (
zcat /var/log/syslog.?.gz | grep -E "da[i|y]ly").