CLI reference / job / rerun

stado job rerun

Invocation

stado job rerun [OPTIONS] --retry-token <RETRY_TOKEN> <JOB_ID>

Purpose

Resubmit a job's exact spec under a new job id

Required inputs and options

Input or optionContract
<JOB_ID>Job id to copy the spec from, in any lifecycle prefix
--retry-token <RETRY_TOKEN>Caller-retained token; reuse it after a crash to recover one rerun
--jsonEmit the original and the rerun as JSON instead of a table

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.