摘要:
#!/bin/sh #filename: checkProcess.sh #示例:每分钟检测httpd是否在运行,不在运行则重启 #crontab -e # 加入:*/1 * * * * checkProcess.sh "httpd" "/etc/init.d/httpd start" #------------------------------- # 函数: checkProcess # 功... 阅读全文
posted @ 2019-03-06 10:01
侃豺小哥
阅读(1665)
评论(0)
推荐(0)

浙公网安备 33010602011771号