Debugging Cron jobs involves examining Cron logs. Cron logging is optional. For debugging, it may be easier to simply append to the end of the cron job line a file dump like:
$HOME/my_exe 1>/tmp/out.log 2>/tmp/err.log
On MacOS, Cron logging is disabled by default, but the results of cron jobs are available via system mail, which is stored in
can be used instead of Cron via Property List files, but many simply prefer Cron.
On Linux systems, Cron may log to locations like “/var/log/cron”.
For systems that use “rsyslog”, check “/etc/rsyslog.conf” for this line to be uncommented: