How does Laravel queue work and what if php artisan queue:listen stops

后端 未结 2 891
闹比i
闹比i 2021-02-08 10:30

I have installed beanstaled and its working fine with laravel. The point where I am puzzled is that we have to do

php artisan queue:listen

to

2条回答
  •  無奈伤痛
    2021-02-08 11:07

    You can also make use of Laravel's Task Scheduler i.e add the php artisan queue:listen command to the scheduler and sets its frequency to whatever you wants.

    So that will make sure to call queue listen process automatically.

    Hope it will make sense.

提交回复
热议问题