gee
08/19/2025, 1:55 PMMarvin
08/19/2025, 1:55 PMMarvin
08/19/2025, 1:56 PMschedules
(plural). The old schedule
(singular) was used in 2.x. If you’re seeing schedule
in a 3.x context, that doc is outdated.
Authoritative docs:
- prefect.yaml reference (3.x)
- Creating schedules for deployments (3.x)
- For comparison, 2.x used `schedule`: 2.x schedules
Minimal 3.x example:
deployments:
- name: my-deployment
entrypoint: flows/my_flow.py:flow
work_pool: { name: my-pool }
schedules:
- cron: "0 12 * * *"
timezone: "UTC"
active: true
# you can define more than one schedule
- interval: "3600s"
timezone: "UTC"
If you can share the exact page you’re looking at, I’ll get it corrected. I do so love chasing stale docs.Brendan Dalpe
08/19/2025, 2:08 PMgee
08/19/2025, 2:09 PMNate
08/19/2025, 2:10 PMschedules
and schedule
) valid, which is somewhat confusingBrendan Dalpe
08/19/2025, 2:10 PMNate
08/19/2025, 2:10 PMgee
08/19/2025, 2:11 PMNate
08/19/2025, 2:12 PMschedule
to schedules
but then we got feedback from users that schedule
made a lot of sense so we kept both, there may be places in the code that suggest that switch we underwent in the past