Java Quartz scheduled Job - disallow concurrent execution of Job

You can implement StatefulJob or annotate DisallowConcurrentExecution


@DisallowConcurrentExecution can do your job but please consider that it would only prevent your class from being run twice on the same node.

Please see @ReneM comment in Quartz 2.2 multi scheduler and @DisallowConcurrentExecution


Just use the @DisallowConcurrentExecution Annotation on top of the Job class.

See this official example or this tutorial about concurrent job execution.