Announcement Announcement Module
Collapse
No announcement yet.
Running only one instance of a quartz Job at a time Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Running only one instance of a quartz Job at a time

    Hi,

    I want to activate the quartz scheduler in a spring container, but since the duaration of execution is not fixed (not even close) I need a constraint that will ensure that no other instance of that job is fired if another has not finished, How do I do that?

    Can I control at runtime the scheduling policy i.e. change the quartz cron expression?

    Thanks,

    Barak.

  • #2
    There is some discussion of this in the Quartz tutorial, e.g. StatefulJobs.
    http://www.opensymphony.com/quartz/w...alLesson3.html

    Comment

    Working...
    X