检测网站down掉后自动发信的shell脚本代码
复制代码 代码如下:#!/bin/bash#website test scriptswhile true;do for cycle_temp in `cat url_list` do if lynx -dump `echo ${cycle_temp}` -accept_all_cookies|grep "true";then echo "The website is running naturally" else echo "${cycle_temp} h...