我运行一个基于Spring Framework / SmartGWT的Web应用程序,现在添加了一个Quartz作业.该工作应该每天凌晨2点运行,并从数据库表中挑选获胜者.从我的日志中我看到它同时运行两次,因为正如你所看到的,日志重叠:
Generating winners of yesterday...
Generating winners of yesterday...
winning id's: 15
done,mail queue is filled.
winning id's: 18
done,mail queue is filled.
我的applicationContext.xml如下所示: