Delaying a job after condition has been added

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
kennedyk

Delaying a job after condition has been added

Post by kennedyk » 13 Feb 2007 10:55

Is the a way to delay a job for a certain period (e.g 5 min) after a condition has been passed. I.E JobB depends on JobA. When JobA completes successfully, it will pass on a condtion to JobB to start. I want JobB to delay for 5 minutes before starting.

Is this possible without having to put a SLEEP job between JobA and JobB?

Regards

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 13 Feb 2007 11:53

Not to my knowledge.
Effectively you can use SLEEP or WAIT command in your script in the JobA, or create a SLEEP job between them.

kennedyk

Post by kennedyk » 13 Feb 2007 1:02

I think so too. I thought maybe someone out there might have had another working around. I 'll put a SLEEP between them

Thanks

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Delaying a job after condition has been added

Post by Walty » 13 Feb 2007 2:58

Why you don't try to use the %%PRECMD in job B with sleep xx ?

Regards
Walty

kennedyk

Post by kennedyk » 19 Feb 2007 11:23

That worked perfectly.

Thanks

Post Reply