I apologize for having originally posted this in the wrong place.
I have a requirement to run a job every 45 days except for weekends or holidays. If I use the example of a two week job (i.e. RUN EVERY TWO WEEKS BEGINNING MARCH 20, 2020 PLUS 0 WORKDAYS) it works just fine. However, when I substitute run every 45 days for run every two weeks like this:
RUN EVERY 45 DAYS STARTING MAR 20TH 2020 PLUS 0 WORKDAYS
. . the result is that the literal number of days is used, and holidays and /or weekends are ignored. Is there a way to do this so that holidays and weekends are taken in to account? I have tried using GENTIME and I cannot seem to get that to work either.
Thanks in advance!
I completely didn't think to 'delaysub' into the next workday! Thank you very much for this. It works perfectly.
IT Operations Support Analyst
Infrastructure and Operations
BlueCross BlueShield of Tennessee
423-535-7342 (office) | 423-309-2547 (mobile)