I am trying to trigger a batch job using rest controller.Just need to know if there is any way to disable spring batch job autorun programatically without using application.properties file
Asked
Active
Viewed 215 times
1
-
Perhaps this [post](https://stackoverflow.com/questions/45977933/spring-boot-batch-disable-batch-auto-start-via-code) is what you are looking for – Asif Kamran Malick Mar 03 '21 at 12:49
-
Does this answer your question? [spring boot/batch disable batch auto start via code](https://stackoverflow.com/questions/45977933/spring-boot-batch-disable-batch-auto-start-via-code) – Mahmoud Ben Hassine Mar 03 '21 at 15:56