There is a requirement to schedule a database task to run on the 3rd working day of each month, excluding weekends and public holidays defined in the Public Holiday Compensation Schedule.
Using the custom scheduling execution plan, how can the public holidays be excluded?
The current execution plan is:
FREQ=MONTHLY; BYDAY=MON,TUE,WED,THU,FRI; BYSETPOS=3; BYHOUR=9; BYMINUTE=0; BYSECOND=0;
This execution plan schedules the task to run on the 3rd weekday of the month. However, it does not currently exclude the public holidays defined in the Public Holiday Compensation Schedule.
How can this execution plan be modified to exclude the holidays from that calendar?