...
|
...
|
@@ -22,8 +22,12 @@ public class JavaServiceAlarm { |
|
|
@Autowired
|
|
|
private SnsMobileConfig snsMobileConfig;
|
|
|
|
|
|
|
|
|
@Scheduled(cron="${cron_task_javaservice_alarm}")
|
|
|
/**
|
|
|
* 全网监控度的监控切换到另外一个系统中了
|
|
|
* 不再使用该定时任务
|
|
|
* modify by craig.qin 2018-03-05
|
|
|
*/
|
|
|
//@Scheduled(cron="${cron_task_javaservice_alarm}")
|
|
|
public void run() {
|
|
|
boolean flag = snsMobileConfig.isJavaServiceFlag();
|
|
|
if(!flag)
|
...
|
...
|
|