View previous topic :: View next topic |
Author |
Message |
Deepthi Beginner

Joined: 20 Aug 2005 Posts: 27 Topics: 6 Location: MN
|
Posted: Fri Jan 22, 2010 5:31 am Post subject: Scheduling problem |
|
|
I have a sequence of jobs to be scheduled which can run maximum 3 times a day.
For example -
if File A arrives, it shud kick off Job1 and a set of common jobs say grouped as COMJOB
if file B arrives, it shud kick off Job2 and COMJOB
if file C arrives, it shud kick off Job3 and COMJOB
If there is a file B, then Job2--> COMJOB shud wait for job1-->COMJOB to complete
If there is a file C, then Job3--> COMJOB shud wait for job2-->COMJOB to complete
i.e, File A, File B and File C cycles shud not run simultaneously.
On any given day, there can be just the file A or (File A and File B) or (File A and File B and File C).
Next day's cycle for file A shud not trigger until previous days cycles are complete. However, since its not sure that everyday we can have 3 cycles, we cannot have the dependency on the last job.
Can anyone suggest a good way of scheduling this requirement?
Scheduler is COntrol M. _________________ Thanks,
Deepthi.
Our lives begin to end the day we become silent about things that matter. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Jan 22, 2010 4:10 pm Post subject: |
|
|
Deepthi,
Create a single job which would validate the type of file received and it would kick of COMJOB. By doing this , it would ensure the cycle is completed before the new cycle kicks in.
Kolusu |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Jan 25, 2010 2:13 pm Post subject: |
|
|
Quote: |
However, since its not sure that everyday we can have 3 cycles, we cannot have the dependency on the last job.
|
CA scheduler has option to wait for a job only if it is supposed to run that day. I guess something similar would be there for control M too. |
|
Back to top |
|
 |
|
|