Commit ec1598ac authored by 高雅喆's avatar 高雅喆

update

parent b6d6a8ed
......@@ -4,6 +4,7 @@ import datetime
from tool import send_email
while True:
try:
result = requests.get('http://192.144.193.19:4042/api/v1/applications/app-20191114103608-0697/streaming/batches')
batchs_info = result.json()
......@@ -23,3 +24,7 @@ while True:
is_email = 1
f.write('%s\n' % batch)
time.sleep(1800)
except:
send_email("画像增量更新堆积时间", "fail", "")
break
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment