Browse Source

xmo数据接入切到王涛数据中心

xiaowang 2 weeks ago
parent
commit
4ed35b3ffc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/java/com/example/mdd/job/DownloadXMO.java

+ 1 - 2
src/main/java/com/example/mdd/job/DownloadXMO.java

@@ -3,7 +3,6 @@ package com.example.mdd.job;
 import com.example.mdd.service.XMODownload;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.scheduling.annotation.EnableScheduling;
-import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 
 import javax.annotation.Resource;
@@ -18,7 +17,7 @@ public class DownloadXMO {
 
     //xmo天气 从0点开始 每3小时调用一次
     //@Scheduled(fixedDelay = 600000)
-    @Scheduled(cron = "0 0 0/3 * * *")
+    //@Scheduled(cron = "0 0 0/3 * * *")
     public void download() {
         xmoDownload.download();
     }