Skip to main content

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.

Authors list

First published: 21/03/2017

Last updated: Oct 30, 2017 by Paul Davies