[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Job Chaining  XML
Forum Index -> Quartz
Author Message


Joined: 10/21/2014 21:33:26
Messages: 7


After extensive googling, I have found that 2 jobs can be executed sequentially instead of parallel execution which is a default behaviour.

But I am confused that is it possible if 2 jobs are chained, i.e. should be executed one after another but not as soon as 1st job is finished. Instead at some particular time.

For example, Job 1 is to be executed at 1:00pm and Job2 is scheduled at 5:00pm. Both are chained, just to ensure that job 2 is run after job1. But in case job1 finishes its execution at 3 pm then job2 should not be run immediately, instead it should wait till 5pm.

However in other case, if job1 take ample amount of time and lets suppose it is NOT finished till 5pm, then in this case job2 should wait till the processing of job1 finishes.

Is this possible to acheive? Any help would be appreciated.

Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team