使用Spring @Scheduled注解实现定时任务
首先要配置我们的spring.xml
xmlns:task=“http://www.springframework.org/schema/task”
然后xsi:schemaLocation多加下面的内容
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task...
原创
2019-05-05 18:15:34 ·
141 阅读 ·
0 评论