[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 
[Expert]
Multiple instances of the same batch run, need to specifically stop one  XML
Forum Index -> Quartz
Author Message
aashaikh

neo

Joined: 10/26/2014 03:54:37
Messages: 1
Offline

HI ,

I have two Batch Jobs say StartXYZJob.java and StopXYZJob.java that implements Class Job. Now in my web application I call StartXYZJob with every new entry created in the logic. Now say 5 instances of this StartXYZJob exist and now i call a StopXYZJob to stop schedule of the StartXYZJob...it will kill all the jobs..which is my issue. I understand there is a design flaw here.

Can you please suggest how can i uniquely identify a Job instance of a Job from the others of the same type and stop the correct job schedule which i started previously among the other 4 active.


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