CLI command

probierz schedule show

One schedule with its last firing and the job that firing submitted.

Invocation#

Shell
probierz schedule show <NAME>

Required inputs and options#

  • <NAME> is the schedule as probierz schedule list names it.

Output and state effects#

Prints Stado's record and the state of the last job (stado machine status), or null when it never fired.

Exact refusals#

  • A name that is not one (lower-case letters, digits and dashes) is refused; unknown (exit 1): a name Stado holds no schedule for is refused listing the names it holds. Real test: tests/schedule/stado.rs.
  • stado-refused (exit 1): Stado refusing is refused with the stado schedule command and Stado's sentence, and the schedule is as Stado left it; an edit to a cron Stado cannot read leaves the standing cron. Real test: tests/schedule/stado.rs.
  • A schedule list Stado answers without JSON, not as a list, or with a Probierz schedule that has no id, is Stado's fault and is refused as unavailable (exit 69) with its answer, never read as no schedules.

Source snapshot#

Generated from the Rust binaries at revision 99a74945a3598a8d73b6c6cbe5aae4f283becea3 of Probierz's private source repository.

Combined help SHA-256: 77529678a61237f774b59e76df0d1907cb749ef5da56d2ed913b040793b7d30b; binary SHA-256: be9e0eaff0e6ea50403a0c6f6d467697a4eac676f9523b8dc13a596d2b5526c5.