cron
Enable or create a cron.log file
- Edit the
/etc/rsyslog.d/50-default.conffile. Find and uncomment the line starting with#cron.* - Restart rsyslog service:
$ sudo systemctl restart rsyslog
## verify it ##
$ sudo systemctl status rsyslog
- View the cron logs as
sudo tail -f /var/log/cron.log