1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-09 12:22:30 +01:00

Updated Background Jobs (markdown)

FreeScout 2024-06-18 10:40:15 +03:00
parent 487a8cfcdf
commit f7bc3583e8

@ -4,7 +4,7 @@ Queued jobs are processed by `schedule:run` cron task. This task runs `queue:wor
**1)** Run `php artisan freescout:check-requirements` command and make sure that `pctl` extension is installed in your console PHP (without this extension FreeScout can't kill processes that get stuck).
_When running the command make sure to use the same PHP as in your [cron jobs](https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide#9-configuring-cron-jobs). For example if in your cron you are using `/usr/local/bin/php-8.0` run the command as: `/usr/local/bin/php-8.0 artisan freescout:check-requirements`_
_When running the command make sure to use the same PHP as in your [cron jobs](https://github.com/freescout-help-desk/freescout/wiki/Installation-Guide#9-configuring-cron-jobs). For example if in your cron you are using `/usr/local/bin/php-8.0` run the command as: `/usr/local/bin/php-8.0 artisan freescout:check-requirements`_
**2)** Run `ps aux | grep queue` command to check if `queue:work` daemon is running:
@ -19,7 +19,7 @@ If there are more than 2 processes running, clear application cache (see #3) or
kill -KILL 5534 5535
```
**3)** If `queue:work` daemon is not running , make sure that you have `schedule:run` cron task [configured](https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide#10-configuring-cron-jobs).
**3)** If `queue:work` daemon is not running , make sure that you have `schedule:run` cron task [configured](https://github.com/freescout-help-desk/freescout/wiki/Installation-Guide#10-configuring-cron-jobs).
**4)** Clear application cache to restart all `queue:work` daemons:
```