Schedules
See and cancel runs that wait for a time.
schedule:create
Run a task again and again on a cron schedule.
- needs API key
- --json: full
$ ignitify schedule:create <task> --cron <expression> [--tz <zone>] [--payload <json>] [--preset <preset>] [--timeout-sec <n>] [--deadline-sec <n>] [--overlap skip|allow]$ ignitify schedule:create image-resize --cron "0 3 * * *" --tz Europe/Berlin --timeout-sec 120✓ Schedule Createdschedule_id sch_Vb7LmQ2sXe9Ktask_id 019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17task_name image-resizecron 0 3 * * *timezone Europe/Berlinoverlap skipstatus ACTIVEpause_reason -pause_detail -next_fire_at 2027-01-15T02:00:00.000Zlast_fire_at -last_outcome -state_text -last_outcome_text -consecutive_misses 0created_by key_P4nR8tWz2YcHcreated_at 2027-01-14T09:12:03.540Zupdated_at 2027-01-14T09:12:03.540Ztimeout_sec 120Next fire times (UTC; the expression reads in Europe/Berlin) • 2027-01-15T02:00:00.000Z • 2027-01-16T02:00:00.000Z • 2027-01-17T02:00:00.000Z • 2027-01-18T02:00:00.000Z • 2027-01-19T02:00:00.000Z
$ ignitify schedule:create image-resize --cron "0 3 * * *" --tz Europe/Berlin --timeout-sec 120 --json{
"kind": "cron",
"schedule_id": "sch_Vb7LmQ2sXe9K",
"task_id": "019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17",
"task_name": "image-resize",
"cron": "0 3 * * *",
"timezone": "Europe/Berlin",
"overlap": "skip",
"status": "active",
"pause_reason": null,
"pause_detail": null,
"next_fire_at": "2027-01-15T02:00:00.000Z",
"last_fire_at": null,
"last_outcome": null,
"state_text": null,
"last_outcome_text": null,
"consecutive_misses": 0,
"created_by": "key_P4nR8tWz2YcH",
"created_at": "2027-01-14T09:12:03.540Z",
"updated_at": "2027-01-14T09:12:03.540Z",
"run_settings": {
"timeout_sec": 120
},
"next_fire_times": [
"2027-01-15T02:00:00.000Z",
"2027-01-16T02:00:00.000Z",
"2027-01-17T02:00:00.000Z",
"2027-01-18T02:00:00.000Z",
"2027-01-19T02:00:00.000Z"
],
"payload_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
}$ ignitify schedule:create image-resizeError: --cron "<expression>" is required, for example --cron "0 3 * * *" (03:00 every day)
| Flag | Value | Default | Description |
|---|---|---|---|
<task>required | — | — | The task (slug or id). Each slot runs its newest READY deployment. |
--cronrequired | <expression> | — | Five fields: minute, hour, day of month, month, day of week. Quote it. |
--tz | <zone> | UTC | The IANA time zone the expression reads in, for example Europe/Berlin. |
--payload | <json> | {} | JSON input for every run. |
--preset | <preset> | the deployment's run.preset when it fires | Instance class for every run. |
--timeout-sec | <n> | the deployment's run.timeout_sec when it fires | Time limit in seconds for every run. |
--deadline-sec | <n> | — | A hard wall-clock limit in seconds for every run, at least the time limit. |
--overlap | skip|allow | skip | When the last run is still live: skip leaves this slot out, allow starts it too. |
schedule:list
List your schedules: one-time and recurring.
- needs API key
- --json: full
$ ignitify schedule:list$ ignitify schedule:listschedule_id kind task status next_fire_at cron timezone──────────────── ──── ────────────── ─────── ──────────────────────── ───────── ─────────────sch_Rt6WnB3yKd8Q once image-resize PENDING 2027-01-15T03:00:00.000Z - -sch_Vb7LmQ2sXe9K cron nightly-report ACTIVE 2027-01-15T02:00:00.000Z 0 3 * * * Europe/Berlin
More examples (1)
$ ignitify schedule:listNo schedules.Create one with: ignitify schedule:create <task> --cron "<expression>"
$ ignitify schedule:list --json[
{
"kind": "once",
"schedule_id": "sch_Rt6WnB3yKd8Q",
"deployment_id": "019f3c24-1b05-7c9a-8e21-4d6f0b93a7e2",
"task_name": "image-resize",
"fires_at": "2027-01-15T03:00:00.000Z",
"created_at": "2026-10-14T09:12:03.540Z"
},
{
"kind": "cron",
"schedule_id": "sch_Vb7LmQ2sXe9K",
"task_id": "019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17",
"task_name": "nightly-report",
"cron": "0 3 * * *",
"timezone": "Europe/Berlin",
"overlap": "skip",
"status": "active",
"pause_reason": null,
"pause_detail": null,
"next_fire_at": "2027-01-15T02:00:00.000Z",
"last_fire_at": null,
"last_outcome": null,
"state_text": null,
"last_outcome_text": null,
"consecutive_misses": 0,
"created_by": "key_P4nR8tWz2YcH",
"created_at": "2027-01-14T09:12:03.540Z",
"updated_at": "2027-01-14T09:12:03.540Z"
}
]schedule:show
Show one recurring schedule: state, run settings and next fire times.
- needs API key
- --json: full
$ ignitify schedule:show <sch-id>$ ignitify schedule:show sch_Vb7LmQ2sXe9KSchedule Detailsschedule_id sch_Vb7LmQ2sXe9Ktask_id 019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17task_name image-resizecron 0 3 * * *timezone Europe/Berlinoverlap skipstatus AUTO_PAUSEDpause_reason consecutive-missespause_detail -next_fire_at 2027-01-25T02:00:00.000Zlast_fire_at 2027-01-24T02:00:00.000Zlast_outcome no-ready-deploymentstate_text The platform paused it: it did not run too many times in a row (last: the task has no ready deployment). Nothing runs until you resume it.last_outcome_text Did not run: the task has no ready deployment.consecutive_misses 10created_by key_P4nR8tWz2YcHcreated_at 2027-01-14T09:12:03.540Zupdated_at 2027-01-24T02:00:01.204Ztimeout_sec 120Next fire times (UTC; the expression reads in Europe/Berlin)None: only an active schedule fires.
$ ignitify schedule:show sch_Vb7LmQ2sXe9K --json{
"kind": "cron",
"schedule_id": "sch_Vb7LmQ2sXe9K",
"task_id": "019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17",
"task_name": "image-resize",
"cron": "0 3 * * *",
"timezone": "Europe/Berlin",
"overlap": "skip",
"status": "auto_paused",
"pause_reason": "consecutive-misses",
"pause_detail": null,
"next_fire_at": "2027-01-25T02:00:00.000Z",
"last_fire_at": "2027-01-24T02:00:00.000Z",
"last_outcome": "no-ready-deployment",
"state_text": "The platform paused it: it did not run too many times in a row (last: the task has no ready deployment). Nothing runs until you resume it.",
"last_outcome_text": "Did not run: the task has no ready deployment.",
"consecutive_misses": 10,
"created_by": "key_P4nR8tWz2YcH",
"created_at": "2027-01-14T09:12:03.540Z",
"updated_at": "2027-01-24T02:00:01.204Z",
"run_settings": {
"timeout_sec": 120
},
"next_fire_times": [],
"payload_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
}$ ignitify schedule:show sch_Rt6WnB3yKd8QError: API 404: {"error":"schedule not found","reason":"schedule-not-found"}
| Flag | Value | Default | Description |
|---|---|---|---|
<sch-id>required | — | — | The schedule id, from schedule:create or schedule:list. |
schedule:update
Change a recurring schedule in place, keeping its id, runs and miss count.
- needs API key
- --json: full
$ ignitify schedule:update <sch-id> [--cron <expression>] [--tz <zone>] [--overlap skip|allow] [--payload <json>] [--preset <preset>] [--timeout-sec <n>] [--deadline-sec <n>]$ ignitify schedule:update sch_Vb7LmQ2sXe9K --cron "30 4 * * *"✓ Schedule Updatedschedule_id sch_Vb7LmQ2sXe9Ktask_id 019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17task_name image-resizecron 30 4 * * *timezone Europe/Berlinoverlap skipstatus ACTIVEpause_reason -pause_detail -next_fire_at 2027-01-16T03:30:00.000Zlast_fire_at -last_outcome -state_text -last_outcome_text -consecutive_misses 0created_by key_P4nR8tWz2YcHcreated_at 2027-01-14T09:12:03.540Zupdated_at 2027-01-15T08:03:44.917Ztimeout_sec 120Next fire times (UTC; the expression reads in Europe/Berlin) • 2027-01-16T03:30:00.000Z • 2027-01-17T03:30:00.000Z • 2027-01-18T03:30:00.000Z • 2027-01-19T03:30:00.000Z • 2027-01-20T03:30:00.000Z✓ Schedule updated: sch_Vb7LmQ2sXe9K. The change applies from the next slot; a slot already queued and a run already started keep the old run settings.
$ ignitify schedule:update sch_Vb7LmQ2sXe9KError: nothing to change: give at least one of --cron, --tz, --payload, --preset, --timeout-sec, --deadline-sec, --overlap
| Flag | Value | Default | Description |
|---|---|---|---|
<sch-id>required | — | — | The schedule id, from schedule:create or schedule:list. |
--cron | <expression> | unchanged | A new expression: minute, hour, day of month, month, day of week. Quote it. |
--tz | <zone> | unchanged | A new IANA time zone for the expression, for example Europe/Berlin. |
--payload | <json> | unchanged | A new JSON input for every run. It replaces the whole payload, and the old one cannot be read back. |
--preset | <preset> | unchanged | A new instance class for every run. |
--timeout-sec | <n> | unchanged | A new time limit in seconds for every run. |
--deadline-sec | <n> | unchanged | A new hard wall-clock limit in seconds for every run, at least the time limit. |
--overlap | skip|allow | unchanged | When the last run is still live: skip leaves the slot out, allow starts it too. |
schedule:pause
Pause a recurring schedule: it fires nothing until you resume it.
- needs API key
- --json: full
$ ignitify schedule:pause <sch-id>$ ignitify schedule:pause sch_Vb7LmQ2sXe9KSchedule Detailsschedule_id sch_Vb7LmQ2sXe9Ktask_id 019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17task_name image-resizecron 0 3 * * *timezone Europe/Berlinoverlap skipstatus PAUSEDpause_reason -pause_detail -next_fire_at 2027-01-15T02:00:00.000Zlast_fire_at -last_outcome -state_text Paused. Nothing runs until you resume it.last_outcome_text -consecutive_misses 0created_by key_P4nR8tWz2YcHcreated_at 2027-01-14T09:12:03.540Zupdated_at 2027-01-14T10:40:12.008Ztimeout_sec 120Next fire times (UTC; the expression reads in Europe/Berlin)None: only an active schedule fires.✓ Schedule paused: sch_Vb7LmQ2sXe9K. It fires nothing until you resume it.
$ ignitify schedule:pause sch_Vb7LmQ2sXe9K --json{
"kind": "cron",
"schedule_id": "sch_Vb7LmQ2sXe9K",
"task_id": "019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17",
"task_name": "image-resize",
"cron": "0 3 * * *",
"timezone": "Europe/Berlin",
"overlap": "skip",
"status": "paused",
"pause_reason": null,
"pause_detail": null,
"next_fire_at": "2027-01-15T02:00:00.000Z",
"last_fire_at": null,
"last_outcome": null,
"state_text": "Paused. Nothing runs until you resume it.",
"last_outcome_text": null,
"consecutive_misses": 0,
"created_by": "key_P4nR8tWz2YcH",
"created_at": "2027-01-14T09:12:03.540Z",
"updated_at": "2027-01-14T10:40:12.008Z",
"run_settings": {
"timeout_sec": 120
},
"next_fire_times": [],
"payload_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
}| Flag | Value | Default | Description |
|---|---|---|---|
<sch-id>required | — | — | The schedule id. |
schedule:resume
Resume a paused recurring schedule.
- needs API key
- --json: full
$ ignitify schedule:resume <sch-id>$ ignitify schedule:resume sch_Vb7LmQ2sXe9KSchedule Detailsschedule_id sch_Vb7LmQ2sXe9Ktask_id 019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17task_name image-resizecron 0 3 * * *timezone Europe/Berlinoverlap skipstatus ACTIVEpause_reason -pause_detail -next_fire_at 2027-01-16T02:00:00.000Zlast_fire_at -last_outcome -state_text -last_outcome_text -consecutive_misses 0created_by key_P4nR8tWz2YcHcreated_at 2027-01-14T09:12:03.540Zupdated_at 2027-01-15T08:03:44.917Ztimeout_sec 120Next fire times (UTC; the expression reads in Europe/Berlin) • 2027-01-16T02:00:00.000Z • 2027-01-17T02:00:00.000Z • 2027-01-18T02:00:00.000Z • 2027-01-19T02:00:00.000Z • 2027-01-20T02:00:00.000Z✓ Schedule resumed: sch_Vb7LmQ2sXe9K. Slots missed while paused do not fire.
$ ignitify schedule:resume sch_Vb7LmQ2sXe9K --json{
"kind": "cron",
"schedule_id": "sch_Vb7LmQ2sXe9K",
"task_id": "019f3c22-5e10-7d4b-9c31-0a8e6f2b4d17",
"task_name": "image-resize",
"cron": "0 3 * * *",
"timezone": "Europe/Berlin",
"overlap": "skip",
"status": "active",
"pause_reason": null,
"pause_detail": null,
"next_fire_at": "2027-01-16T02:00:00.000Z",
"last_fire_at": null,
"last_outcome": null,
"state_text": null,
"last_outcome_text": null,
"consecutive_misses": 0,
"created_by": "key_P4nR8tWz2YcH",
"created_at": "2027-01-14T09:12:03.540Z",
"updated_at": "2027-01-15T08:03:44.917Z",
"run_settings": {
"timeout_sec": 120
},
"next_fire_times": [
"2027-01-16T02:00:00.000Z",
"2027-01-17T02:00:00.000Z",
"2027-01-18T02:00:00.000Z",
"2027-01-19T02:00:00.000Z",
"2027-01-20T02:00:00.000Z"
],
"payload_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
}| Flag | Value | Default | Description |
|---|---|---|---|
<sch-id>required | — | — | The schedule id. |
schedule:preview
Print the next fire times of a cron expression without creating anything.
- needs API key
- --json: full
$ ignitify schedule:preview <cron> [--tz <zone>]$ ignitify schedule:preview "0 9 * * 1-5" --tz America/New_Yorkcron 0 9 * * 1-5timezone America/New_YorkNext fire times (UTC; the expression reads in America/New_York) • 2027-01-15T14:00:00.000Z • 2027-01-18T14:00:00.000Z • 2027-01-19T14:00:00.000Z • 2027-01-20T14:00:00.000Z • 2027-01-21T14:00:00.000Z
$ ignitify schedule:preview "0 9 * * 1-5" --tz America/New_York --json{
"cron": "0 9 * * 1-5",
"timezone": "America/New_York",
"next_fire_times": [
"2027-01-15T14:00:00.000Z",
"2027-01-18T14:00:00.000Z",
"2027-01-19T14:00:00.000Z",
"2027-01-20T14:00:00.000Z",
"2027-01-21T14:00:00.000Z"
]
}| Flag | Value | Default | Description |
|---|---|---|---|
<cron>required | — | — | The expression, in quotes: minute, hour, day of month, month, day of week. |
--tz | <zone> | UTC | The IANA time zone the expression reads in. |
schedule:cancel
Cancel a schedule of either kind so that it never fires again.
- needs API key
- asks to confirm
- deletes data
- --json: full
$ ignitify schedule:cancel <sch-id> [--yes]$ ignitify schedule:cancel sch_Rt6WnB3yKd8QWill cancel schedule sch_Rt6WnB3yKd8Q — it will never fire.Proceed? [y/N] y✓ Schedule cancelled: sch_Rt6WnB3yKd8Q
$ ignitify schedule:cancel sch_Rt6WnB3yKd8Q --yes --json{
"schedule_id": "sch_Rt6WnB3yKd8Q",
"cancelled": true
}$ ignitify schedule:cancel sch_Rt6WnB3yKd8Q --yesWill cancel schedule sch_Rt6WnB3yKd8Q — it will never fire.Error: Schedule sch_Rt6WnB3yKd8Q was NOT cancelled: not found, already fired, or currently firing.
| Flag | Value | Default | Description |
|---|---|---|---|
<sch-id>required | — | — | The schedule id, from task:run --at, schedule:create or schedule:list. |
--yes, -y | — | — | Skip the question. |
What happens
- Prints which schedule it will cancel.
- Asks you to confirm, unless you pass
--yes. - Cancels the schedule.
- Prints the schedule id.