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