CLI reference / schedule / edit

stado schedule edit

Invocation

stado schedule edit [OPTIONS] <SCHEDULE_ID>

Purpose

Change a schedule's command, cron expression or timezone; an enabled schedule's next run is recomputed from now

Required inputs and options

Input or optionContract
<SCHEDULE_ID>Positional input; required or optional as shown in the invocation.
--command <COMMAND>New command the schedule submits
--cron <CRON>New 5-field cron expression
--tz <TZ>New IANA timezone the cron is interpreted in
--jsonEmit the persisted schedule as JSON

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.