Hi,
I'm trying to set up a DBMS_SCHEDULER that runs on the second working monday of each month.
I've created a schedule that has all the UK public holidays called “public_holidays_england” which seems to work as expected so I'm using this as the repeat interval
'freq=monthly; byday=2mon; exclude=public_holidays_england; bysetpos=1'
If it was the first working Monday then it would work fine but as its the second working Monday then it doesn't seem to take into account that the first Monday is not a working day.
So for Jan 2024 the above repeat interval returns “MONDAY 08-JAN-2024” but i want it to return “MONDAY 15-JAN-2024”
Below is a calendar showing the days circled I want returned, the days in red are public holidays from the “public_holidays_england” schedule

Any ideas what I need to do.
Thanks in advance.