摘要: 我们在平常项目开发中,经常会用到周期性定时任务,这个时候使用定时任务就能很方便的实现。在SpringBoot中用得最多的就是Schedule。 一、SpringBoot集成Schedule 1、依赖配置 由于Schedule就包含在spring-boot-starter中,所以无需引入其他依赖。 2 阅读全文
posted @ 2020-04-23 23:49 阿拉懒神灯 阅读(693) 评论(0) 推荐(0) 编辑