...
|
...
|
@@ -33,7 +33,7 @@ public class QcloudBandwidthTask { |
|
|
SnsMobileConfig snsMobileConfig;
|
|
|
|
|
|
@Scheduled(cron = "${cron.task.bandwidth}")
|
|
|
public void clientDnsCountMonitor() {
|
|
|
public void qcloudBandwidthTask() {
|
|
|
try {
|
|
|
TreeMap<String, Object> config = new TreeMap<>();
|
|
|
|
...
|
...
|
@@ -95,7 +95,7 @@ public class QcloudBandwidthTask { |
|
|
alarmMsgService.sendSms("bandwidth", "专线带宽使用过多,请查看" , snsMobileConfig.getBaseMobile());
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
logger.error("qcloudBandwidthTask !",e);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|