springboot中使用Scheduled定时任务
摘要:一:在程序入口类中添加注解@EnableScheduling 二:在一个没有带参数的方法上使用注解Scheduled 三:启动应用则会自动按照cron的规则定时执行任务
阅读全文
posted @ 2018-04-13 14:32
posted @ 2018-04-13 14:32
posted @ 2018-04-04 15:12
posted @ 2018-04-04 11:02
posted @ 2018-04-04 10:57
posted @ 2018-03-31 14:39