CLI reference / queue

stado queue

Invocation

stado queue <COMMAND>

Purpose

Maintenance mode: pause/resume dispatching, and drain the fleet

Required inputs and options

This command has no command-specific inputs or options.

Output and state effect

This command group selects one of the subcommands listed below; use its exact child invocation to perform an operation.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.

Subcommands

  • pause Stop dispatching and claiming; running jobs finish untouched
  • resume Resume dispatching and claiming
  • status Pause state plus how much work is queued and still running
  • drain Pause, then (with --wait) block until no job is running any more