php artisan queue:work
Process the next job on a queue
Usage
queue:work [--queue [QUEUE]] [--daemon] [--delay [DELAY]] [--force] [--memory [MEMORY]] [--sleep [SLEEP]] [--tries [TRIES]] [--] [<connection>]
Arguments
connection The name of connection
Options
--queue The queue to listen on
--daemon Run the worker in daemon mode
--delay Amount of time to delay failed jobs
--force Force the worker to run even in maintenance mode
--memory The memory limit in megabytes
--sleep Number of seconds to sleep when no job is available
--tries Number of times to attempt a job before logging it failed
-h, --help Display this help message
-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 ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env The environment the command should run under.