-
Hi,
` |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What you are referring to seems more like rescheduling. DisallowConcurrentExecution is more for situations where multiple instances of the same type of job have been scheduled, likely with different job data. For example, a DownloadLargeFileJob. It downloads a large file. Due to IO constraints or something, you want to queue 3 large files, but don't want them to run at the same time. They are different files, so the jobs details will be different. The JobKey might be the same (if you've set it via attribute or something), even though the jobs are different. DisallowConcurrentExecution makes the scheduler only allow one DownloadLargeFileJob to run at the same time (assuming they have the same JobKey). |
Beta Was this translation helpful? Give feedback.
-
@da3dsoul |
Beta Was this translation helpful? Give feedback.
@da3dsoul
Thanks a lot.