Spring Scheduler stops unexpectedly

前端 未结 3 443
孤城傲影
孤城傲影 2020-12-13 02:02

We have a Spring 3 web application on Tomcat 6 that uses several scheduled services via @Scheduled (mainly for jobs that run every night). Now it appears that s

3条回答
  •  旧巷少年郎
    2020-12-13 02:45

    In my case stack trace was absolutely clean, thread started only a couple of time and that's all. The problem was in conflict with another schedule.

    Updated

    Schedule not work correctly, because I use fixedDelayString and the previous job not ended when was time to start new. After changed schedule to fixedRateString, threads started correctly.

提交回复
热议问题