I am using a Quartz Job for executing specific tasks.
I am also scheduling its execution in my Main application class and what i am trying to accomplish is not to a
Just use the @DisallowConcurrentExecution Annotation on top of the Job class.
@DisallowConcurrentExecution
See this official example or this tutorial about concurrent job execution.