| | |
| | | public void ospfDownCheckTask() { |
| | | logger.info("ospf链路检测任务开始------------" + DateUtil.getDateTimeString(new Date())); |
| | | //ospfInfoService.getDetailedOspfNeighborInfo(); |
| | | ospfInfoService.getRouterStatus(); |
| | | //ospfInfoService.getRouterStatus(); |
| | | ospfInfoService.getPyRouterStatus(); |
| | | logger.info("ospf链路检测任务结束------------" + DateUtil.getDateTimeString(new Date())); |
| | | } |
| | | |
| | |
| | | * 5秒后执行,之后每24小时刷新一次 |
| | | * 检测license |
| | | */ |
| | | @Scheduled(initialDelay = 5000L, fixedRate = 24 * 60 * 60 * 1000) |
| | | //@Scheduled(initialDelay = 5000L, fixedRate = 24 * 60 * 60 * 1000) |
| | | public void validateLicense() { |
| | | logger.info("validateLicense------------" + DateUtil.getDateTimeString(new Date())); |
| | | try { |