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