stado cancel
Invocation
stado cancel [OPTIONS] [JOB_ID]Purpose
Cancel a queued or running job, or every job still waiting in the queue
Required inputs and options
| Input or option | Contract |
|---|---|
[JOB_ID] | The job to cancel. Omitted with `--queued`, which selects them all |
--queued | Cancel every job still in the queue, claimed by nobody. A fleet that has queued work it no longer wants had to be emptied one id at a time, which is how a queue stays full |
--terminate | Also delete the cloud instance the job is holding. Without it a cancelled job's VM keeps running, and billing |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
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.