class Illuminate / Queue / Console / PruneBatchesCommand

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.