Commit d8649ae6 authored by lixiaofang's avatar lixiaofang

add

parent ed855e77
......@@ -28,6 +28,9 @@ if __name__ == "__main__":
logging.info("Database version : %s " % topic_id_list)
pc.close()
topic_id_list = [919337,927745]
if topic_id_list:
def fun_timer():
for id in topic_id_list:
......@@ -38,10 +41,10 @@ if __name__ == "__main__":
global timer
timer = threading.Timer(3, fun_timer)
timer.start()
timer = threading.Timer(4, fun_timer)
timer.start()
timer = threading.Timer(5, fun_timer)
timer.start()
# timer = threading.Timer(4, fun_timer)
# timer.start()
# timer = threading.Timer(5, fun_timer)
# timer.start()
timer = threading.Timer(1, fun_timer) # 首次启动
timer.start()
......
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