|
@@ -19,11 +19,9 @@ public class ScheduledPlan { |
|
@@ -19,11 +19,9 @@ public class ScheduledPlan { |
19
|
@Autowired
|
19
|
@Autowired
|
20
|
JavaApiClient javaApiClient;
|
20
|
JavaApiClient javaApiClient;
|
21
|
|
21
|
|
22
|
-
|
|
|
23
|
- //TODO config prop
|
|
|
24
|
- @Scheduled(fixedRate = 180000)
|
22
|
+ @Scheduled(cron="${cron_task_javaapi_monitor}")
|
25
|
public void run() {
|
23
|
public void run() {
|
26
|
- log.info("task start...");
|
24
|
+ log.info("########## task start...");
|
27
|
|
25
|
|
28
|
// javaApiClient.init4Test();
|
26
|
// javaApiClient.init4Test();
|
29
|
javaApiClient.initClient();
|
27
|
javaApiClient.initClient();
|
|
@@ -31,7 +29,7 @@ public class ScheduledPlan { |
|
@@ -31,7 +29,7 @@ public class ScheduledPlan { |
31
|
javaApiClient.run();
|
29
|
javaApiClient.run();
|
32
|
|
30
|
|
33
|
|
31
|
|
34
|
- log.info("task end...");
|
32
|
+ log.info("########## task end...");
|
35
|
|
33
|
|
36
|
}
|
34
|
}
|
37
|
} |
35
|
} |