I am using JBeret on WildFly.
Is there a way to prevent a Job from running twice at the same time?
I.e. a Job is scheduled to run every hour. If the Job runs longer than an hour, I dont want it to run twice at the same time, meaning the second instance should fail or otherwise reject to be started.
Is there a way do declare that kind of behavoir in the Batch xml files?