Stopping a normal job if the following day is free
Suppose you run a daily job from Monday to Thursday, and a weekly job on Friday. If Friday is free, you need to run the weekly job on Thursday instead of the daily job. For the daily job, you need run cycles that suppress the job when the following day is free, so use these run cycles:
Type | Rule | Free day rule |
---|---|---|
Daily job run cycles: | ||
R | EVERY (or ONLY) MONDAY TUESDAY WEDNESDAY THURSDAY of WEEK | 4 |
E | EVERY (or ONLY) FRIDAY of WEEK | 1 |
Weekly job run cycles: | ||
R | EVERY (or ONLY) FRIDAY of WEEK | 1 |
The run cycles with free-day rule 1 ensure that the weekly job is brought forward, and the daily job is cancelled, when the Friday is a holiday.