1 Reply Latest reply on Sep 19, 2020 9:20 PM by Bentze Perlmutter

# Job running out of the given schedule

Control-M 9.0.18

New day time 12:00 PM

We have a job which should run from Sun to Thursday at 10:00 AM to 4:00 PM. as below, but on Friday job back working from (10:00 AM - 12:00 PM) which new day time still not coming we don't need run this job on Friday, there is any solution to schedule job running from 10:00 AM - 4:00 PM without working on Friday

• ###### 1. Re: Job running out of the given schedule

This has always been a challenge in Control-M, when you have jobs that have a time windows that overlaps NDP time, because the time window can't be set differently for different days of the week.

The solution is to have either two or three job definitions to cover the different time windows on the first and last day of your cycle.

(NOTE: this problem doesn't exist if the job needs to run 7 days a week)

Option 1: Two Job Definitions

JOB1: Schedule of Sat to Wed with time of 10:00am to 11:59am (so it actually runs Sun to Thu from 10am to 11:59am)

JOB2: Schedule of Sun to Thu with time of 12pm to 4pm

PROS: only two job definitions to maintain (this is a pro when considered vs option 2)

CONS: every day two jobs are in the AJF (so you pay for two jobs)

Option 2: Three Job Definitions:

JOB1: Schedule of Sat with time of 10am to 11:59am (so it actually runs Sun from 10am to 11:59am)

JOB2: Schedule of Sun to Wed with time of 10am to 4pm

JOB3: Schedule of Thu with time of 12pm to 4pm

PROS: only one job in AJF every day (so you pay for one job)

CONS: you need to maintain three job definitions

Regards,

Bentze