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 job lancer. But all seems too intrusive.
I failed to found an example that match my needs any Ideas will be most welcome.