Skip to main content

Manually run cron task


As an alternative to enabling logging, you can disable the cron job or Scheduled Task, then run it manually.

On Linux/Unix, to disable the cron job, go to the file which defines the cron job (usually /etc/crontab, but /etc/cron.d/deskpro if you’re using a VM image) and comment out the line which mentions cron.php by adding # at the beginning of the line.

On Windows, disable the Scheduled Task in Task Scheduler.

To run the cron job manually, use:

php bin/cron --verbose -f

or on Windows:

php.exe bin/cron --verbose -f

(These must be run from within Deskpro's root directory.)

Authors list

First published: 21/03/2017

Last updated: Oct 27, 2017 by Christopher Nadeau