how to stop spring batch scheduled jobs from running at first time when executing the code?

前端 未结 4 1512
有刺的猬
有刺的猬 2020-12-28 15:53

i\'m using spring batch 2.2.4 with quartz to run some jobs at certain time

the problem is the jobs always run after executing the code at the first time then it runs

4条回答
  •  误落风尘
    2020-12-28 16:35

    adding

    spring.batch.job.enabled=false
    

    in application.properties works with me.

提交回复
热议问题