We are using quartz-all-2.1.1 version. using JDBC jobstore.We have few observations for scheduled jobs (ran from xml file)and triggered jobs (a scheduled job internally triggers this job)
Observation with scheduled job:
1). Same Quartz Job is running simultaneously.
means, one Job is running and before completion of this job same job trigger again because of that prevoius job is not completed within that interval time.
Observation with triggered job:
1). The same scenario gives a " org.quartz.ObjectAlreadyExistsException ".
Please provide explanation for above.
we want the same behaviour with scheudled jobs also i.e we dont want 2 instances of same job to run simultaneously.
Take a look at the @DisallowConcurrentExecution Job class annotation which tells Quartz not to execute multiple instances of a given job definition concurrently.
Hi,
Thanks for your reply. We have achieved that required functionality with given solution. But in Quartz Database the job previous_triggered_time and next_fire_time are not updating accordingly.
Please provide us is there any solution to achieve my requirement.