diff --git a/src/main/java/com/kwan/springbootkwan/schedule/CsdnSchedule.java b/src/main/java/com/kwan/springbootkwan/schedule/CsdnSchedule.java index f35ca82c11b966a4371fa8f29886cdeef6e9f554..cc7b28f1df17a89bf2999a7e56239b749d12f675 100644 --- a/src/main/java/com/kwan/springbootkwan/schedule/CsdnSchedule.java +++ b/src/main/java/com/kwan/springbootkwan/schedule/CsdnSchedule.java @@ -15,7 +15,7 @@ public class CsdnSchedule { @Autowired private CsdnService csdnService; - @Scheduled(cron = "0 0 6,8,10,12,14,16,18,20,22 * * ?") + @Scheduled(cron = "0 0 8,10,12,14,16,18,20 * * ?") public void execute() { log.info("Scheduled task is running ... ..."); csdnService.multiTriplet();