Replies: 3 comments 6 replies
-
Yes, Quartz will block other triggers which target the same job. quartznet/src/Quartz/Impl/AdoJobStore/JobStoreSupport.cs Lines 2908 to 2922 in e9d6738 |
Beta Was this translation helpful? Give feedback.
-
i have the same question, DisallowConcurrentExecution not work right some time . Quartz 3.3.3 |
Beta Was this translation helpful? Give feedback.
-
We came up with the same scenario where the DisallowConcurrentExecution was not working. The solution was to create the trigger with the same name on every instance., specifying a Triggerkey. If you don't specify a trigger name, Quartz will automatically generate an ID and even though the trigger is the same, the name will be different in every instance. Here is an example, Quartz version 3.8.1 |
Beta Was this translation helpful? Give feedback.
-
Hi,
assuming a cluster setup with two schedulers with the same instance name and different instance ids, is the DisallowConcurrentExecution attribute supposed to prevent the concurrent execution of a job across the whole cluster (i.e., both schedulers) or only "inside" one of the nodes?
So if I add two triggers with exactly the same job key, is the execution of the second trigger supposed to be delayed until the first one has finished in this scenario?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions