SpringBoot之SpringTask定时任务调度器
第一步开启任务调度,定时任务
@SpringBootApplication
@ComponentScan(basePackages = {"org.data"})
@MapperScan("org.data.source.dao")
@EnableCaching
@EnableTransactionManagement
@EnableScheduling//开启任务调度,定时任务
public c...
原创
2020-03-21 23:57:49 ·
236 阅读 ·
0 评论