A way of running high priority jobs

All questions about Control-M jobs definitions
Post Reply
User avatar
KevinP
Nouveau
Nouveau
Posts: 1
Joined: 12 May 2013 12:00
Location: GuangZhou

A way of running high priority jobs

Post by KevinP » 12 May 2013 4:40

Hello all

There are two kinds of jobs in the table, high priority(HP) and medium/low priority(MP). Normally the MP jobs should depend on HP jobs, but in some case, the MP jobs can run before HP jobs.

When the predecessor of the first HP job is completed, run the HP jobs and then MP jobs.

When the predecessor of the first HP job is NOT completed, run the MP jobs first, and when the predecessor of HP job is completed, run the HP jobs and stop to run the MP jobs, when all the HP jobs complete, continue to run the MP jobs.

Is there any way to satisfy this requirement?

jobschubse

Post by jobschubse » 22 May 2013 5:20

Hi KevinP,

you can use 2 conditions to manage the HP and MP Jobs.
For example:
the HP jobs are waiting for condition HP_RUN
and the MP jobs wait for the condition MP_RUN.

when the predecessor job starts you can add the condition MP_RUN and delete the contdition HP_RUN.
when the predecessor job finished you have to add the HP_RUN and delete the MP_RUN condition.

i think it works :-)

regards
manfred

Post Reply