how to check cron job logs in linux code example Example: linux check cronjob log grep CRON /var/log/syslog