Ir para o conteúdo principal
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Enable cron logging

em Troubleshooting
Lista de autores
Publicado: 21 de mar. de 2017|Última atualização: 30 de out. de 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.

ÚtilNão útil
próxima páginaManually run cron task
página anteriorBypass IP whitelisting

Por favor, faça login ou registre-se para enviar um comentário.