What exactly does “DisallowConcurrentExecution” mean at Quartz.net

I have Quartz.net working with the following definition.

[PersistJobDataAfterExecution] [DisallowConcurrentExecution] public class AdItemsJob : IJob, IInterruptableJob { public void Execute(IJobExecutionContext context) { // Job execution logic, } } 

How I decorated Job with the DisallowConcurrentExecution attribute.
What I know about this attribute, we cannot run multiple instances of the same job at the same time. What is meant by a few examples here? Do the two AddItemsJob jobs AddItemsJob with the other key as the same instances or different instances.?
Two tasks with different keys can be performed simultaneously.?

+8
c # job-scheduling
source share
1 answer

A job instance is a work with a unique key. Therefore, having a job like AddItemsJob, it can have two instances with the keys AddItemsJob.Admin and AddiItemsJobs.Legacy. Concurrency protection comes over the job key - the above two jobs can run simultaneously if they were defined with overlapping triggers.

The presence of one task specified for one key will not be executed at the same time, even if there are several triggers that have graphs associated with it.

+11
source share

All Articles