<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. |
<identity> schedule list
Section titled “<identity> schedule list”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. |
<identity> schedule show
Section titled “<identity> schedule show”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. |
<identity> schedule run
Section titled “<identity> schedule run”Run a schedule’s action now, outside its trigger.
<identity> schedule run [options] <id>| Argument | Required |
|---|---|
id |
Required |
<identity> schedule pause
Section titled “<identity> schedule pause”Stop a schedule firing until resumed.
<identity> schedule pause [options] <id>| Argument | Required |
|---|---|
id |
Required |
<identity> schedule resume
Section titled “<identity> schedule resume”Resume a paused schedule (its next fire is computed from now)
<identity> schedule resume [options] <id>| Argument | Required |
|---|---|
id |
Required |
<identity> schedule cancel
Section titled “<identity> schedule cancel”Cancel a one-off schedule (sch_…) that has not started.
<identity> schedule cancel [options] <id>| Argument | Required |
|---|---|
id |
Required |
<identity> schedule logs
Section titled “<identity> schedule logs”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.