mardi 29 septembre 2020

Stopping a Laravel Queue after it has finished running

I am running a web application on Laravel 5.5. I have a requirement to run the jobs in a queue and then stop the queue. The queue cannot be allowed to stay running.

I am running the below command but this just endlessly carries on.

php artisan queue:work --tries=3

If I use supervisord can I stop the queue from inside the Laravel application.

Any help is really appreciated.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Gi1JzJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire