queue:work

Start processing jobs on the queue as a daemon

Options

  • daemon - Run the worker in daemon mode (Deprecated) Optional
  • delay - The number of seconds to delay failed jobs Optional
  • force - Force the worker to run even in maintenance mode Optional
  • memory - The memory limit in megabytes Optional
  • once - Only process the next job on the queue Optional
  • queue - The names of the queues to work Optional
  • sleep - Number of seconds to sleep when no job is available Optional
  • stop-when-empty - Stop when the queue is empty Optional
  • timeout - The number of seconds a child process can run Optional
  • tries - Number of times to attempt a job before logging it failed Optional

Arguments

  • connection - The name of the queue connection to work Optional
php artisan queue:work [--queue [QUEUE]] [--daemon] [--once] [--stop-when-empty] [--delay [DELAY]] [--force] [--memory [MEMORY]] [--sleep [SLEEP]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] [<connection>]