php artisan queue:work

Start processing jobs on the queue as a daemon

Usage

queue:work [--name [NAME]] [--queue [QUEUE]] [--daemon] [--once] [--stop-when-empty] [--delay [DELAY]] [--backoff [BACKOFF]] [--max-jobs [MAX-JOBS]] [--max-time [MAX-TIME]] [--force] [--memory [MEMORY]] [--sleep [SLEEP]] [--rest [REST]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] [<connection>]

Arguments

connection   The name of the queue connection to work 

Options

            --name              The name of the worker 
            --queue             The names of the queues to work 
            --daemon            Run the worker in daemon mode (Deprecated) 
            --once              Only process the next job on the queue 
            --stop-when-empty   Stop when the queue is empty 
            --delay             The number of seconds to delay failed jobs (Deprecated) 
            --backoff           The number of seconds to wait before retrying a job that encountered an uncaught exception 
            --max-jobs          The number of jobs to process before stopping 
            --max-time          The maximum number of seconds the worker should run 
            --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 
            --rest              Number of seconds to rest between jobs 
            --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