Type/to search

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

Common strategy
Created: 2018-06-22 10:27:03
Last modified: 8 years ago
3
Follow
1505
Followers
Source
Python
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)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)