Hello,
Are there any plans to support extensions or alternatives to cron syntax for periodic jobs? The feature we are specifically interested in is holiday calendars, i.e. preventing jobs from running on specific dates.
I couldn't find this question covered anywhere else, so thought I should raise it.
HolidayCalendar cal = new HolidayCalendar();
cal.addExcludedDate( someDate );
cal.addExcludedDate( someOtherDate );
sched.addCalendar("myHolidays", cal, false);
Trigger t = newTrigger()
.withIdentity("myTrigger")
.forJob("myJob")
.withSchedule(dailyAtHourAndMinute(9, 30)) // execute job daily at 9:30
.modifiedByCalendar("myHolidays") // but not on holidays
.build();
It would be wonderful if Nomad eventually supported something like this in addition to basic cron syntax.
Is this something that would fit in with the long term direction and roadmap for Nomad?
Thanks,
Simon