文章目录 Scheduled 引入依赖 启动类 加注解 @EnableScheduling 测试 Scheduled 引入依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-core</artifactId>