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