linux_shell_轮询触发启动脚本
while [ 1 ]
do
length=`redis-cli -h *.*.*.* -p 8000 llen eq`
while [ $length -gt 1 ]
do
echo "length[${length}], sleep 3600 s"
sleep 3600
length=`redis-cli -h *.*.*.* -p 8000 llen eq`
done
sh /home/users/**/test/sj.entry.sed
create by cphmvp
email:cphmvp@163.com
爬虫技术交流_crawler QQ群 :167047843