jeudi 19 mars 2015

Stop a spring batch job based on the STATUS

I have spring batch job configured in my JAVA application, the application runs in a cluster. Hence the same job gets executed twice, which I don't want.


So I want to configure a step within the job which will check if CREATE_DATE is present for that day in BATCH_JOB_EXECUTION table and will continue or fail over.


How can this be configured within a spring batch step ?


Aucun commentaire:

Enregistrer un commentaire