Sysadmin Guide

Enable cron logging

Deskpro uses a cron job or Windows Scheduled Task to carry out scheduled tasks that need to happen on a regular basis - for example, checking for new emails every minute.

You can see these from the admin interface at Server > Scheduled Tasks.

If you find that cron/Scheduled Task is crashing and you want to investigate, you can enable logging by adding this to the config.php file:

$DP_CONFIG['debug']['write_cron_logfile'] = 1;

When cron runs, debug information will be appended to data/logs/cron.log


Since scheduled tasks run so often, this file can get large quite quickly. You should either rotate this file, or remember to disable logging once you’ve solved the problem.

Comments (0)

Add a comment

Add a comment

You need to log in before you can submit a comment.

Need a password reminder?