更新定时任务
This commit is contained in:
@@ -27,7 +27,7 @@ public class jobController {
|
|||||||
private ThreadPoolTaskExecutor hostMonitorExecutor;
|
private ThreadPoolTaskExecutor hostMonitorExecutor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* 主机在线状态检测,每10分钟检测一次
|
||||||
*/
|
*/
|
||||||
@Scheduled(cron = "0 0/10 * * * ?")
|
@Scheduled(cron = "0 0/10 * * * ?")
|
||||||
public void getJobMonitHostStatus() {
|
public void getJobMonitHostStatus() {
|
||||||
|
|||||||
Reference in New Issue
Block a user