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

上一篇:LigerUI Tree


下一篇:Android开发之dip, dp, px, sp区别