Robert Denham
07/03/2025, 1:50 AMMarvin
07/03/2025, 1:50 AMMarvin
07/03/2025, 1:51 AMyaml
schedules:
- cron: "30 22 * * *"
timezone: "Australia/Brisbane"
params:
ndays: 2
This configuration:
- Uses "30 22" to specify 10:30 PM (22:30 in 24-hour format)
- "*" wildcards for day, month, and weekday mean it runs every day
- Explicitly sets the timezone to Australia/Brisbane
- Includes the parameter override for ndays
You can include this snippet within your prefect.yaml
under the specific deployment configuration. The complete context might look something like:
yaml
deployments:
- name: your-deployment-name
schedules:
- cron: "30 22 * * *"
timezone: "Australia/Brisbane"
params:
ndays: 2
The schedule will respect Brisbane local time, including any daylight saving time adjustments (though note that Queensland doesn't observe DST).