Прескочи към главното съдържание
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Manually run cron task

в Troubleshooting
Списък с автори
Публикувани: 21.03.2017 г.|Последно обновено: 27.10.2017 г.

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.)

ПолезноНе беше полезно
следваща страницаTroubleshooting Email
предишна страницаEnable cron logging

Моля, логнете се или се регистрирайте, за да оставите коментар.