I have create a Job "myJob" with incrementer.
My batch is standalone.
In order to launch my batch, i use this command:
It's works. But i do only one loop on my job.Code:
org.springframework.batch.core.launch.support.CommandLineJobRunner myContext.xml myJob -next
How to iterate on job until a condition is false without to iterate on command line (because i use incrementer and i don't want to reload context)?
Is it possible to repeat a job?