Skip to main content
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Enable cron logging

in Troubleshooting
Authors list
Published: Mar 21, 2017|Last updated: Oct 30, 2017

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

Warning

Warning

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.

HelpfulUnhelpful
next pageManually run cron task
previous pageBypass IP whitelisting

Please log in or register to submit a comment.