I have a Quartz.net Job with the following definition.
[PersistJobDataAfterExecution]
[DisallowConcurrentExecution]
public class AdItemsJob : IJob, IInterruptableJob
{
public void Execute(IJobExecutionContext context)
{
// Job execution logic,
}
}
As I have decorated the Job with DisallowConcurrentExecution
attribute.
What I know about this attribute, we can't run multiple instances of same job at the same time. What is meant by multiple instances here.?
Does the two jobs of AddItemsJob
with different key are called same instances or different instances.?
Does two jobs with different key can execute at the same time.?