The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
8.x
queue:prune-batches
🖥
queue:prune-batches
Prune stale entries from the batches database
Options
hours
- The number of hours to retain batch data
Optional
unfinished
- The number of hours to retain unfinished batch data
Optional
php artisan queue:prune-batches [--hours [HOURS]] [--unfinished [UNFINISHED]]
Click to copy