Bích Ngọc
Member
How do I debug a cron job?
Answer
Tips on how to debug cron:
Answer
Tips on how to debug cron:
- change the schedule for the cron job so it runs every minute. It’s harder to debug something that happens infrequently.
- Make sure syslog sends cron logs to /var/log/cron.log. …
- Follow the log file to track cron’s activity. …
- Make sure the cron job user can receive mail.