开发者

Problems scheduling jobs with spring crontrigger

I'm facing a quite strange behavior of my application. I have an application that uses Spring3 and runs over tomcat6 and it schedules jobs through spring's crontrigger.

My cron expression is "0 0 3 * * ?", which should fire my job every 3am (once a day). My application (and my jobs) w开发者_运维问答ere working fine until yesterday. This night the things went crazy, and my job starter working continuously. It was like that the runtime were ignoring the cron expression, and started executing my job in an infinite loop.

Does this make any sense to any of you?


Most likely your job was throwing an exception, rather than completing gracefully, so Quartz re-executed it (again, and again).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜