- 博客(1)
- 收藏
- 关注
转载 springboot使用@Scheduled定时任务详解
使用@Scheduled注解 springboot使用定时任务非常方便,只需要在方法上增加@Scheduled注解即可,同时需要使用@EnableScheduling开启定时任务 1.springboot 启动类添加 @EnableScheduling 注解 import org.springframework.boot.SpringApplication; import org.springfr...
2019-06-28 17:56:07
1114
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人