Include customized calendar in Scheduler

How to exclude holiday dates in scheduler? How to create a customized calendar for job execution in scheduler?

1 Like

Hi,

Thanks for your question. I’m assuming that you’re referring to using a Time-based Trigger for your schedule and you’d like to customize this trigger to include holiday dates and a customized calendar.

The Time-based Triggers that can be supported today are those that can expressed via Cron expressions (more documentation on that can be found here and unfortunately, the level of customization you are looking for cannot be achieved with cron expressions.

Assuming you are working with a Code Repository transform or Pipeline Builder, one workaround here could be to encode dates that you would not like to run your job and on those days, simply abort your job but on other days to let the logic behind your job continue running.

This way, you can schedule your job to run every day but only run your logic on the days you’d like to while doing a no-op change to your code on other days.

Hope this helps.