Schedules
Run a project once, every hour, day, week or month, or on a cron expression in your time zone.
A project with a schedule starts its runs on its own. Without one (manual, the default), it runs only when you ask.
Set the schedule when you create the project, or later with PATCH /v1/projects/{id}. Send it whole: a field you leave out takes its default, and the new schedule replaces the old one.
{
"schedule": {
"interval": "cron",
"cron": "0 9 * * 1-5",
"timezone": "Europe/Paris"
}
}Intervals
interval | Runs |
|---|---|
manual | Only when you start a run. The default. |
once | Once, at start_at (or now). |
hourly | Every 60 minutes, from start_at (or now). |
daily | Every day, at the time of start_at (or now) in timezone. |
weekly | Every week, on the weekday and at the time of start_at (or now) in timezone. |
monthly | Every month, on the day and at the time of start_at (or now) in timezone. |
cron | On a cron expression, in timezone. |
| Field | Default | Notes |
|---|---|---|
cron | Required for cron, ignored otherwise. Five fields: minute, hour, day of month, month, day of week. | |
timezone | UTC | An IANA time zone, such as Europe/Paris or America/New_York. Applies to daily, weekly, monthly and cron. |
start_at | Now | The first run, as an ISO 8601 date with its offset: 2026-12-01T08:00:00+01:00. With cron, runs start at the first slot from then. |
Local time and daylight saving
daily, weekly and monthly keep the local time of start_at in your timezone all year: a run at 09:00 in Europe/Paris stays at 09:00 after the clocks change, so it is 08:00 UTC in winter and 07:00 UTC in summer. A start_at already past still sets that time: the first run starts now, the next ones at the time of start_at.
- A time the clock skips (spring forward) runs as late as the gap is long: 02:30 runs at 03:30 that night, then at 02:30 again.
- A time the clock shows twice (fall back) runs once, the first time.
hourlycounts real time: 60 minutes between runs, whatever the clock does.
End of the month
A monthly schedule started on the 29th, 30th or 31st runs on the last day of shorter months, then goes back to its day: started on 31 January, it runs on 28 February (29 in a leap year), 31 March, 30 April, 31 May…
Rules
- At least one hour apart. A cron expression that runs more often is refused (
422 schedule_invalid), as is an unknown time zone or an invalid expression. - No drift. Each run is planned from the previous planned time, not from when the last run ended.
- Missed slots are skipped. After the service was unavailable, the project runs once when it is back, then at its next slot to come: the other slots that passed meanwhile are not replayed.
- One run at a time. When a slot comes while the previous run is still going, it is skipped (reason
run_in_progress). - Never on credit. A slot is skipped when your balance does not cover what the run may spend: the rows times the endpoint's
credit_cost, ormax_cost_per_runplus one row when that is less (reasoninsufficient_credits, withcredits.insufficienttoo). A search input searches first: the check counts the balance left after those calls, and when the workspace runs out of credits during the searches, the slot is skipped the same way (credits.insufficientwithstage: "search"). A slot skipped for credits is not a failed run. - Workspace limits. A slot is skipped too when the run would go past a limit Piloterr set for your workspace (
rows_limit_exceeded,concurrent_runs_limit) or while Dataflow is switched off (dataflow_disabled,account_dataflow_disabled). A workspace may also have a longer gap between scheduled runs than one hour: the slots that come too soon are skipped without an event. - Skipped slots send
schedule.skipped, with thereasonindata, and the schedule goes on. When Dataflow itself cannot launch the run (reasonlaunch_error), it tries again at the next slot. - Start time. Runs start within about 30 seconds of their planned time.
The project's schedule shows where it stands:
{
"interval": "cron",
"cron": "0 9 * * 1-5",
"timezone": "Europe/Paris",
"enabled": true,
"next_run_at": "2026-12-01T08:00:00.000Z",
"consecutive_failures": 0,
"upcoming": [
"2026-12-01T08:00:00.000Z",
"2026-12-02T08:00:00.000Z",
"2026-12-03T08:00:00.000Z",
"2026-12-04T08:00:00.000Z",
"2026-12-07T08:00:00.000Z"
]
}upcoming lists the next five runs, or none while enabled is false: once a once schedule has run, or after the schedule stopped (below). A manual project has "schedule": null. consecutive_failures counts the scheduled runs that ended failed in a row.
When a schedule stops
- Five failed runs in a row. After five scheduled runs that end
failed, one after the other (a run paused more than 7 days included), the project stops: its schedule is turned off, the project is disabled withdisabled_reason: "auto_failures"(runs you start answer409 project_disabled), and theproject.auto_disabledevent goes out with the lastrun.failed. A completed scheduled run resets the count; skipped slots, cancelled runs and runs you start yourself do not count. - Its API key can no longer be used. The project is disabled with
disabled_reason: "api_key_invalid"and its schedule stops. Set a usable key withPATCH /v1/projects/{id}: the project and its schedule run again. See API key. - The project can no longer run: it was archived, its input is gone, or its endpoint can no longer be used in Dataflow. The slot sends
schedule.skippedwith the reason (project_archived,project_disabled,input_missing,endpoint_not_eligible) and the schedule is turned off.
To start it again, fix the cause, then send the schedule again with PATCH /v1/projects/{id}. Sending a schedule, even manual, resets the failure count and turns a project stopped by failures back on.
To stop a schedule yourself, set {"schedule": {"interval": "manual"}}. Archiving a project removes its schedule: once unarchived, it runs only when you ask until you send a schedule again.
Scheduled runs
A scheduled run is a run like any other, with trigger: "schedule". A URL input is read again before each one, so the project follows the source. Get told about each run with alerts or destinations.