Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- [Dealing With Failed Jobs](#dealing-with-failed-jobs)
- [Cleaning Up After Failed Jobs](#cleaning-up-after-failed-jobs)
- [Retrying Failed Jobs](#retrying-failed-jobs)
- [Pruning Failed Jobs](#pruning-failed-jobs)
- [Ignoring Missing Models](#ignoring-missing-models)
- [Storing Failed Jobs In DynamoDB](#storing-failed-jobs-in-dynamodb)
- [Failed Job Events](#failed-job-events)
Expand Down Expand Up @@ -1711,6 +1712,17 @@ To delete all of your failed jobs from the `failed_jobs` table, you may use the

php artisan queue:flush

<a name="pruning-failed-jobs"></a>
### Pruning Failed Jobs

To prune all records from the failed_jobs database table, you may use the `queue:prune-failed` Artisan Command:

php artisan queue:prune-failed

If necessary, you may pass the number of hours to retain jobs data.

php artisan queue:prune-failed --hours=48

<a name="ignoring-missing-models"></a>
### Ignoring Missing Models

Expand Down