Hello,
For some of our Batch Jobs we would like to skip the execution / reccurance on Holidays.
I have found the standard option which can skip the weekend days. We need something similar to it, or to "Active period" for holidays.
I have found "Holidays and closure" form where we can define our holiday days, but I couldn't understand how to achieve the goal technically.
My idea was to have relation from BatchJob table to "Holidays" table and if today's date is found in that table, it means today is a holiday and therefor Batch job must not start.
I could not find what methods to extends, etc, since most of the methods in RunBase classes where standard active period is used are internal ones.
This should work in all batch jobs which will have relation to holidays table, does not matter if it is created with runbase or sys operation framework.
Has anyone maybe implemented something similar and can give some tips?
Thanks!