1.写好要访问的urls.txt
2.后台运行:
# nohup sh forget2.sh > /dev/null &
#!/bin/bash
while true
do
for url in $( cat ./urls.txt )
do
d1=`date +%H:%M:%S`
curl -o $d1".html" $url && sleep 10
done
done
1.写好要访问的urls.txt
2.后台运行:
# nohup sh forget2.sh > /dev/null &
#!/bin/bash
while true
do
for url in $( cat ./urls.txt )
do
d1=`date +%H:%M:%S`
curl -o $d1".html" $url && sleep 10
done
done