Interesting! Mine logs to the systemlog, and I can read it with journalctl -u crond.service -b
, and it logs some things, like when it’s running anacron, apparently, but not my crontab commands:
Feb 19 02:29:38 fedora systemd[1]: Started Command Scheduler.
Feb 19 02:29:38 fedora crond[1057]: (CRON) STARTUP (1.5.7)
Feb 19 02:29:38 fedora crond[1057]: (CRON) INFO (Syslog will be used instead of>
Feb 19 02:29:38 fedora crond[1057]: (CRON) INFO (RANDOM_DELAY will be scaled wi>
Feb 19 02:29:38 fedora crond[1057]: (CRON) INFO (running with inotify support)
Feb 19 02:33:01 fedora crond[1057]: (danut) RELOAD (/var/spool/cron/danut)
# <-- this is where I'd expect to see my commands, they were running
# every minute, but there's no messages here.
Feb 19 02:53:01 fedora crond[1057]: (danut) RELOAD (/var/spool/cron/danut)
Feb 19 03:01:01 fedora CROND[8449]: (root) CMD (run-parts /etc/cron.hourly)
Feb 19 03:01:01 fedora anacron[8460]: Anacron started on 2022-02-19
Feb 19 03:01:01 fedora anacron[8460]: Will run job `cron.daily' in 18 min.
Feb 19 03:01:01 fedora anacron[8460]: Jobs will be executed sequentially
Feb 19 03:01:01 fedora run-parts[8462]: (/etc/cron.hourly) finished 0anacron
Feb 19 03:01:01 fedora CROND[8448]: (root) CMDEND (run-parts /etc/cron.hourly)
Feb 19 03:02:01 fedora crond[1057]: (danut) RELOAD (/var/spool/cron/danut)
Feb 19 03:19:01 fedora anacron[8460]: Job `cron.daily' started
Feb 19 03:19:01 fedora anacron[8460]: Job `cron.daily' terminated
Feb 19 03:19:01 fedora anacron[8460]: Normal exit (1 job run)
Feb 19 04:01:01 fedora CROND[16982]: (root) CMD (run-parts /etc/cron.hourly)
Perhaps there’s an option for it?