自动跑批请求脚本

Posted wuzhiyi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了自动跑批请求脚本相关的知识,希望对你有一定的参考价值。

#!/bin/bash


while true
do
sleep 5
   for name in `ls /opt/html/*.php |grep -vE  ‘info.php|config.php|external-fopen-java.php‘`  //排除不需要的文件
   do
      curl http://192.168.1.33:8090/${name##*/} >/dev/null   //截取/后面的
   done
done

 

以上是关于自动跑批请求脚本的主要内容,如果未能解决你的问题,请参考以下文章