Artisan.page

horizon:supervisor

Start a new supervisor

Terminal
php artisan horizon:supervisor [--balance [BALANCE]] [--delay [DELAY]] [--force] [--max-processes [MAX-PROCESSES]] [--min-processes [MIN-PROCESSES]] [--memory [MEMORY]] [--nice [NICE]] [--paused] [--queue [QUEUE]] [--sleep [SLEEP]] [--timeout [TIMEOUT]] [--tries [TRIES]] [--] <name> <connection>

Options

balanceOptional

The balancing strategy the supervisor should apply

delayOptional

Amount of time to delay failed jobs

forceOptional

Force the worker to run even in maintenance mode

max-processesOptional

The maximum number of total workers to start

memoryOptional

The memory limit in megabytes

min-processesOptional

The minimum number of workers to assign per queue

niceOptional

The process priority

pausedOptional

Start the supervisor in a paused state

queueOptional

The names of the queues to work

sleepOptional

Number of seconds to sleep when no job is available

timeoutOptional

The number of seconds a child process can run

triesOptional

Number of times to attempt a job before logging it failed

Arguments

nameRequired

The name of supervisor

connectionRequired

The name of the connection to work