Authored by 张帅

修改增量定时任务执行时间为凌晨2点

@@ -23,8 +23,7 @@ public class SynNowDataTask { @@ -23,8 +23,7 @@ public class SynNowDataTask {
23 @Autowired 23 @Autowired
24 private YohoNowDataSynService yohoNowDataSynService; 24 private YohoNowDataSynService yohoNowDataSynService;
25 25
26 - //@Scheduled(cron = "0 0 2 * * ? ")  
27 - @Scheduled(cron = "0 0 0/6 * * ?") 26 + @Scheduled(cron = "0 0 2 * * ? ")
28 public void reportCurrentByCron(){ 27 public void reportCurrentByCron(){
29 logger.info("enter SynNowDataScheduler....."); 28 logger.info("enter SynNowDataScheduler.....");
30 boolean isStop = yohoNowDataSynService.getStop(); 29 boolean isStop = yohoNowDataSynService.getStop();