From dd2945add16924d469539b9fca2042e4dacf956e Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 26 Oct 2015 14:53:54 +0800 Subject: [PATCH] update htbt script --- trunk/scripts/htbt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/scripts/htbt.sh b/trunk/scripts/htbt.sh index d54f91412..6e2ab445b 100755 --- a/trunk/scripts/htbt.sh +++ b/trunk/scripts/htbt.sh @@ -3,5 +3,5 @@ ip=`ifconfig 2>&1|grep "inet addr"|grep -v "127"|awk '{print $2}'|awk -F ':' '{p for ((;;)); do echo "heatbeat at `date`" curl 'http://ossrs.net:8085/api/v1/servers' -H 'Content-Type: text/html' --data-binary "{\"ip\":\"${ip}\",\"device_id\":\"respberry-pi2\"}" && echo "" - sleep 30 + sleep 10 done