https://prefect.io logo
z

Zac Hooper

10/07/2022, 4:47 AM
Has anybody got a working example of using EXDATE with the rrule schedule. Basically I want a daily schedule but to exclude public holidays. Here's an example rule I have that's meant to run daily and exclude Christmas & Boxing day.
Copy code
RRuleSchedule(
    rrule="DTSTART:20221007T120000Z\nRRULE:FREQ=WEEKLY;UNTIL=20240330T120000Z\nEXDATE:20221225T120000Z\nEXDATE:20221226T120000Z"
)