每一秒 不停的 curl 一个特定页面

[[email protected]~]# cat curl.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
cuoun=0
while true
do
me=`curl -N k0.frg.kaixin001.com.cn/curl.php`
#echo $me
if [ "$me" != "evan" ]
then
echo "err $cuoun"
fi
cuoun=`expr $cuoun + 1`
sleep 1
done