Skip to content
Advertisement

Tag: jsr352

JSR352 How to prevent same job to run twice?

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

Advertisement