#!/bin/bash mail=2422606568@qq.com while true do ping -c 2 >/dev/null 2>&1 if [ $? -ne 0 ];then echo " |mail-s "ping baidu is down" $mail else echo "baidu is ok" fi; sleep 30 done
在线咨询
微信咨询
电话咨询
028-86922220(工作日)
18980820575(7×24)
提交需求
返回顶部