这是一个网站监控工具,用于检测目标网站是否正常运行。
./web-monitor -u http://localhost
或添加到 crontab 定时执行:
*/30 * * * * /www/wwwroot/web-monitor.zpw.pub/web-monitor -u http://localhost:443 >> /var/log/web-monitor.log
源码位置:/www/wwwroot/web-monitor.zpw.pub/
/www/wwwroot/web-monitor.zpw.pub/