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
  • cancelled - The number of hours to retain cancelled batch data Optional
php artisan queue:prune-batches [--hours [HOURS]] [--unfinished [UNFINISHED]] [--cancelled [CANCELLED]]