springboot定时任务的两种方式

1.Scheduled 定时任务器 2.整合Quartz定时任务框架 一:使用Scheduled 定时任务器: 1.pom导入依赖 <!--Scheduled 定时任务器 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context
相关文章
相关标签/搜索