Laravel Artisan Queue Command: The queue:retry Command

December 7, 2016 —John Koster

The queue:retry command can be used to attempt to process the specified failed jobs again. The command is versatile in how it accepts the IDs of the jobs to retry.

All of the jobs can be retried by supplying all as the only argument:

1# Retry all jobs.
2php artisan queue:retry all

A single job can be retried like so:

1# Retry a single job.
2php artisan queue:retry 1

Likewise, multiple jobs can be retried by specifying the required jobs like so:

1# Retry failed jobs 1 and 3.
2php artisan queue:retry 1 3

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.