Announcement Announcement Module
Collapse
No announcement yet.
How to make one quartz job not start until another finish? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make one quartz job not start until another finish?

    hi,every one

    I am using quartz embeded in spring in tomcat.

    I use JobDetailBean and SimpleTriggerBean to run my job
    and just with one trigger
    the job running may take a long time for every time.
    how to make another running not start until last running has finished?

    Is the only way to set repeatInterval time big enough?

    thanks

  • #2
    Same Problem

    Does anyone have a solution to this problem please??

    Thanks,
    Franklin

    Comment


    • #3
      Solution

      I think if you are using the MethodInvokingJobDetailFactoryBean, you can set its "concurrent" property to false.

      I hope this is fine.

      Comment

      Working...
      X