Jobs running cyclic in a setup

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
Phani
Nouveau
Nouveau
Posts: 4
Joined: 28 May 2012 12:00

Jobs running cyclic in a setup

Post by Phani » 31 May 2012 12:55

Hi all,

I have a set of 2 jobs A and B.
B is having dependency on A.
Once A runs succesfully B wil start .
This whole set up should run cyclic for every 3 hours
Can anyone explain the process to do this ?
Please explain different ways to get the set up to run cyclic.

User avatar
Danny
Nouveau
Nouveau
Posts: 21
Joined: 18 May 2010 12:00
Location: EMEA
Contact:

Post by Danny » 31 May 2012 1:30

Make them both cyclic, set JobA to rerun every 180 mins, and JobB to rerun after 0 mins.
Make JobB dependend on JobA.
Don't forget to clear the conditions after each job ends

User avatar
Phani
Nouveau
Nouveau
Posts: 4
Joined: 28 May 2012 12:00

Post by Phani » 31 May 2012 1:39

Thank you for the response.
I think it will work for us.
But Can you please explain how to clear the conditions after a job run in a cyclic set up?

User avatar
Sobriquet
Nouveau
Nouveau
Posts: 13
Joined: 14 Jan 2011 12:00

Post by Sobriquet » 01 Jun 2012 6:28

Phani wrote:Thank you for the response.
I think it will work for us.
But Can you please explain how to clear the conditions after a job run in a cyclic set up?
It's was as similar as you add the condition instead select "-" to delete the condition.

User avatar
anirudhp
Nouveau
Nouveau
Posts: 5
Joined: 28 May 2012 12:00

Post by anirudhp » 14 May 2013 3:14

Danny wrote:Make them both cyclic, set JobA to rerun every 180 mins, and JobB to rerun after 0 mins.
Make JobB dependend on JobA.
Don't forget to clear the conditions after each job ends
Sobriquet wrote:
Hi Danny and Sobriquet,

The above said steps work good for set of 2 jobs,(A & B).
But when i am trying to use more than two, i.e., A,B,C.. and give dependency like A-> B-> C-> .. then in this scenario, B is running twice, i.e.,

A runs.
B runs.
C and Also B runs.

This occurs every time for the interval I have given.

Dependency information is(IN and OUT conditions)
For job A - IN() OUT(A+) -- cyclic job set for every 5 mins
For job B - IN(A+) OUT(B+) -- cyclic job set for every 0 mins
For job C - IN(A+ and B+) OUT(A-,B-,C-) -- cyclic job set for every 0 mins


Please let me know how to handle this.

User avatar
Danny
Nouveau
Nouveau
Posts: 21
Joined: 18 May 2010 12:00
Location: EMEA
Contact:

Post by Danny » 16 May 2013 1:32

Try like this:

For job A - IN() OUT(A+) -- cyclic job set for every 5 mins
For job B - IN(A) OUT(B+, A-) -- cyclic job set for every 0 mins
For job C - IN(B) OUT(B-) -- cyclic job set for every 0 mins

Post Reply