Showing
1 changed file
with
1 additions
and
2 deletions
@@ -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(); |
-
Please register or login to post a comment