php artisan queue:listen
Listen to a given queue
Usage
queue:listen [--delay [DELAY]] [--force] [--memory [MEMORY]] [--queue [QUEUE]] [--sleep [SLEEP]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] [<connection>]
Arguments
connection The name of connection
Options
--delay The number of seconds to delay failed jobs
--force Force the worker to run even in maintenance mode
--memory The memory limit in megabytes
--queue The queue to listen on
--sleep Number of seconds to sleep when no job is available
--timeout The number of seconds a child process can run
--tries Number of times to attempt a job before logging it failed
-h, --help Display help for the given command. When no command is given display help for the <info>list</info> command
-q, --quiet Do not output any message
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-V, --version Display this application version
--ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env The environment the command should run under