How to schedule jobs on certain days of month but not on weekends. Then adjusting job to run on a particular day.
Requesting that jobs run on the 15th business day of every month. Should the 15th fall on Saturday or Sunday how can I make it run on the Friday before?
Below is a job that will run on 15th day of month. If the 15th falls on a none workday the LESS 0 WORKDAY statement tells the job to run on the previous workday, which will be Friday.
JOB RCBJOBE.
RUN 15TH DAY OF MONTH LESS 0 WORKDAY
ENDJOB
If you want the job to run on Monday you would use PLUS 0 WORKDAY
JOB RCBJOBE.
RUN 15TH DAY OF MONTH PLUS 0 WORKDAY
ENDJOB