Authored by qinchao

迁docker 停服务

... ... @@ -38,7 +38,7 @@ public class RedisMonitorTask {
private long updateTime;
@Scheduled(cron = "${cron_task_redis_monitor}")
//@Scheduled(cron = "${cron_task_redis_monitor}")
public void dispathTask() {
updateTime = System.currentTimeMillis();
... ...
... ... @@ -73,7 +73,7 @@ public class DockerMonitorTask {
}
}
@Scheduled(cron = "${cron_task_docker_pod_scan}")
//@Scheduled(cron = "${cron_task_docker_pod_scan}")
public void monitor() {
if("test1".equals(env)||"test".equals(env)){
return ;
... ...
... ... @@ -30,7 +30,7 @@ public class MysqlMonitorTask {
@Autowired
MysqlMonitorServiceImpl mysqlMonitorService;
@Scheduled(cron = "${cron_task_mysql_monit}")
//@Scheduled(cron = "${cron_task_mysql_monit}")
public void monitor() {
synchronized (lockStr.intern()) {
List<MysqlMobjectRep> mysqlMobjectReps= mobjectService.getMysqlMobject();
... ...
... ... @@ -37,7 +37,7 @@ public class NodePm2Task {
@Autowired
private NodeHostMapper nodeHostMapper;
@Scheduled(cron = "${cron_task_node_mem}")
//@Scheduled(cron = "${cron_task_node_mem}")
public void nodePm2Info() {
logger.info("cron_task_node_mem start");
... ...