Skip to content
WIP

This guide is a work in progress. Barry is also a work in progress.

<identity> schedule

See, run and pause schedules (actions on a trigger)

<identity> schedule [options] [command]
Subcommand Description
list List schedules with their next and last fire, and whether the scheduler is alive.
show Show a schedule (<bag>/<name>) and its recent runs, or a one-off (sch_…) and its attempts.
run Run a schedule’s action now, outside its trigger.
pause Stop a schedule firing until resumed.
resume Resume a paused schedule (its next fire is computed from now)
cancel Cancel a one-off schedule (sch_…) that has not started.
logs Print the log of a schedule’s latest run.

List schedules with their next and last fire, and whether the scheduler is alive.

<identity> schedule list [options]

Alias: <identity> schedule ls.

Option Description
--json Output as JSON.

Show a schedule (<bag>/<name>) and its recent runs, or a one-off (sch_…) and its attempts.

<identity> schedule show [options] <id>

Alias: <identity> schedule history.

Argument Required
id Required
Option Description
--limit <n> Number of runs to show. Default 20.
--json Output as JSON.

Run a schedule’s action now, outside its trigger.

<identity> schedule run [options] <id>
Argument Required
id Required

Stop a schedule firing until resumed.

<identity> schedule pause [options] <id>
Argument Required
id Required

Resume a paused schedule (its next fire is computed from now)

<identity> schedule resume [options] <id>
Argument Required
id Required

Cancel a one-off schedule (sch_…) that has not started.

<identity> schedule cancel [options] <id>
Argument Required
id Required

Print the log of a schedule’s latest run.

<identity> schedule logs [options] <id>
Argument Required
id Required
Option Description
--run <run_id> A specific run instead of the latest.
-f, --follow Follow the log.

Every command also accepts -h, --help. All identity commands.