The Laravel Artisan Cheatsheet now has an API. Learn more.

queue:prune-failed

Prune stale entries from the failed jobs table

Options

  • hours - The number of hours to retain failed jobs data Optional
php artisan queue:prune-failed [--hours [HOURS]]