how to log cronjob if successful code example Example: linux check cronjob log grep CRON /var/log/syslog