摘要: 类型 主要为定时和监控两种 方法 通过http请求判断tomcat是否处于启动状态 然后将路径的tomcat进行启动 代码: 1、将代码复制到monitor.sh中 放到相应路径 2、给monitor.sh文件授权 sudo chmod a+x monitor.sh 3、设置定时任务 sudo cr 阅读全文