Hi,
I have created a quartz job in Jmix (1.5) that must be running every 2 minutes and fetch data from a third-party system. Due to the fact that sometimes the process requires more than 2 minutes to get completed, I wish to prevent another job instance to be executed until the first one is get completed. I tried to use the annotation “DisallowConcurrentExecution” on the specific job class definition but it seems not to be working as expected. So, I would like to ask you what is the recommended way of preventing a job instance to be created until the previous one is completed.
Thank you,
George