Search

Laravel Artisan Queue Command: The queue:failed Command

December 7, 2016 —John Koster

The queue:failed command is a simple command that will list all of the queue jobs that have failed. The data for the generated table comes from the failed_jobs database table. This command defines no parameters or options and can be used like so:

1# Find all failed jobs.
2php artisan queue:failed

If there are no failed jobs, the command would output something similar to the following:

1No failed jobs!

If there are failed jobs, the command would generate a table that lists each failed job's ID (corresponding to the id in the failed_jobs database table), the queue connection and name, the job class and the date the job failed. The table generated is similar to the following example output:

A list of failed queue jobs

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.