Spring batch :Restart a job and then start next job automatically

I need to create a recovery pattern.

In my pattern I can launch a job only on a given time window.

In case the job fails, it will only be restarted on the next time window and when finish I would like to start the schedule job that was planned in advance for this window.


The only different between jobs is the time window parameters.

I thought about JobExecutionDecider with conjunction with JobExplorer or overriding a Joblauncher. But all seems too intrusive.

I failed to found an example that match my needs any Ideas will be most welcome.


Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com