摘要: maven依赖: 使用时要注意spring版本,其中3.2.x之前只支持1.8.x之前的版本,对应spring配置也会有不同。 自定义job: spring-quartz.xml配置: web.xml当中配置,不要把这个配置信息写入applicationContext.xml,会出现重复执行的情况。 阅读全文
posted @ 2018-01-19 23:49 向东1991 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 自定义timerTask继承java.util.TimerTask,并重写run方法;例如: applicationContext.xml中配置如下: 阅读全文
posted @ 2018-01-19 23:35 向东1991 阅读(139) 评论(0) 推荐(0) 编辑