queue:prune-batches

Prune stale entries from the batches database

Options

  • cancelled - The number of hours to retain cancelled batch data Optional
  • 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]] [--cancelled [CANCELLED]]