...
|
...
|
@@ -19,11 +19,9 @@ public class ScheduledPlan { |
|
|
@Autowired
|
|
|
JavaApiClient javaApiClient;
|
|
|
|
|
|
|
|
|
//TODO config prop
|
|
|
@Scheduled(fixedRate = 180000)
|
|
|
@Scheduled(cron="${cron_task_javaapi_monitor}")
|
|
|
public void run() {
|
|
|
log.info("task start...");
|
|
|
log.info("########## task start...");
|
|
|
|
|
|
// javaApiClient.init4Test();
|
|
|
javaApiClient.initClient();
|
...
|
...
|
@@ -31,7 +29,7 @@ public class ScheduledPlan { |
|
|
javaApiClient.run();
|
|
|
|
|
|
|
|
|
log.info("task end...");
|
|
|
log.info("########## task end...");
|
|
|
|
|
|
}
|
|
|
} |
...
|
...
|
|