class
Illuminate
/
Queue
/
Console
/
PruneBatchesCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PruneBatchesCommand
Extends
Properties
protected
$signature string
The console command signature.
Default: 'queue:prune-batches
{--hours=24 : The number of hours to retain batch data}
{--unfinished= : The number of hours to retain unfinished batch data }
{--cancelled= : The number of hours to retain cancelled batch data }'
protected
$description string
The console command description.
Default: 'Prune stale entries from the batches database'
Methods
public
handle ( ) : void
Execute the console command.