java - 定时任务
1,@EnableScheduling 在 Spring Boot 的主类中加入 @EnableScheduling 注解, 启用定时任务的配置 2,@Scheduled 创建定时任务实现类 @Component cron 表达式详解: ...
来源: http://www.bubuko.com/infodetail-3304542.html