Php – Laravel 4 – retry all failed jobs

laravelphpqueue

In the laravel 4.2 docs it is said that if I want to retry failed job from the failed jobs table I should do:

php artisan queue:retry 5

where 5 is the job id.

How can I retry all failed jobs at once?

Best Solution

You can retry all failed Jobs by running: php artisan queue:retry all.

here is official doc: https://laravel.com/docs/7.x/queues#retrying-failed-jobs