on 03-05-2014 4:41 AM
Hi
I have a scenario and I bet many would have faced the same issue to. However, I am not sure of a solution for this.
Scenario:
I have a Job Chain - JC_Load_Chain which is scheduled to run 10 PM everyday. This chain has been chosen with a 'Job Group Presubmit Count' = 2 in the Submit Frame window.
So if we will see this job at 8 PM today, we would see one schedule at 10 PM Today and another schedule 10 PM Tomorrow.
Let us say, the queue for this chain is held at 9 PM today for a Source System outage. Now the status of the above two mentioned scheules with turn to "Queue Held" status.
The outage is going to exist until 11 PM of tomorrow, which really means, once the Queue is released, both the above mentioned jobs are going to get released and there is going to be a double run.
How should we avoid this situation?
My expectation is, just no matter what if the 10 PM is crossed, I don't want it to run even. It should simply be cancelled.
Please help with your inputs
Thank You
Ganesh Sampath
Hello,
To overcome this issue you can set the pre-submit count at 1 for this job. Since from what I hear there is no requirement to set it to 2. Pre-submitted jobs are not 'related' to each other anymore. You can prevent them from running at the same time by setting a Lock on the job. But that will not skip a run when you have an outage for longer then the schedule frequency.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you create a job definition, enable the Act When jobs are overdue? option, set the action to be taken to canceling the job. This will cancel the job whenever it misses the time window.
In your case, cancel the existing schedule, edit the job and schedule again. As editing a job does not automatically reflect in the schedule.
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.