摘要: 1. Spring task spring task是spring3以上版本自带的定时任务,实现定时任务的功能时,需要引入spring-context包,目前它支持:xml 和注解两种方式。 使用步骤: pom中引入spring-context相关依赖 springboot启动类加上@EnableS 阅读全文
posted @ 2021-04-14 18:53 Abserver 阅读(691) 评论(0) 推荐(0)