Artisan.page

queue:listen

Listen to a given queue

Terminal
php artisan queue:listen [--name [NAME]] [--delay [DELAY]] [--backoff [BACKOFF]] [--force] [--memory [MEMORY]] [--queue [QUEUE]] [--sleep [SLEEP]] [--rest [REST]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] [<connection>]

Options

backoffOptional

The number of seconds to wait before retrying a job that encountered an uncaught exception

delayOptional

The number of seconds to delay failed jobs (Deprecated)

forceOptional

Force the worker to run even in maintenance mode

memoryOptional

The memory limit in megabytes

nameOptional

The name of the worker

queueOptional

The queue to listen on

restOptional

Number of seconds to rest between jobs

sleepOptional

Number of seconds to sleep when no job is available

timeoutOptional

The number of seconds a child process can run

triesOptional

Number of times to attempt a job before logging it failed

Arguments

connectionOptional

The name of connection