queue:listen

Listen to a given queue

Options

  • backoff - The number of seconds to wait before retrying a job that encountered an uncaught exception Optional
  • delay - The number of seconds to delay failed jobs (Deprecated) Optional
  • force - Force the worker to run even in maintenance mode Optional
  • memory - The memory limit in megabytes Optional
  • name - The name of the worker Optional
  • queue - The queue to listen on Optional
  • rest - Number of seconds to rest between jobs Optional
  • sleep - Number of seconds to sleep when no job is available 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 connection Optional
php artisan queue:listen [--name [NAME]] [--delay [DELAY]] [--backoff [BACKOFF]] [--force] [--memory [MEMORY]] [--queue [QUEUE]] [--sleep [SLEEP]] [--rest [REST]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] [<connection>]