摘要: 日常开发中,经常会使用定时任务来执行跑批,springboot默认已经帮助我们整合了定时任务。 参考:https://blog.csdn.net/u013845177/article/details/78244524 1.启动类启用定时 在启动类上添加@EnableScheduling 2.创建定时 阅读全文
posted @ 2018-04-22 19:17 小葱拌豆腐~ 阅读(789) 评论(0) 推荐(0) 编辑