Loading ...

检查https://quant.la/Argus/是否正常

Author: 小草, Date: 2018-06-22 10:27:03
Tags:


import urllib2
def main():
    Log("开始检查@")
    while True:
        try:
            urllib2.urlopen("https://quant.la/API/Argus/predict", timeout=15)
            Log("服务正常")
        except:
            Log(_D()," 服务异常@")
        Sleep(10*60*1000)


More