I have 2 jobs, one runs every hour, the second one runs once per day. Theoretically every job's execution could be longer than hour (or even several hours).
These jobs mustn't be executed at the same time.
So I should implement some checking, if the another one is running, then wait when it finishes, and start execution. How can I implement this (using Quartz)?
Edit: @DisallowConcurrentExecution doesn't help, because it skips execution without waiting when another job finishes.