I have a quartz job in grails, that needs to be executed in every 5s, but I need this sequentially. In some situations the execution of the job exceeds this 5s, in this case I d
For Quartz-based jobs concurrency is achieved using
static concurrent = false
in the job class.
Note the static in the definition, this is needed instead of def concurrent = false at least since version 2.0.12. See the Quartz documentation.
static
def concurrent = false