Commit 08c5d411 authored by 高雅喆's avatar 高雅喆

Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline

optimize sql in detail
parents 30753d1d 5a9fdac2
# -*- coding: utf-8 -*-
import pickle import pickle
import xlearn as xl import xlearn as xl
import pandas as pd import pandas as pd
......
...@@ -12,8 +12,9 @@ def check(): ...@@ -12,8 +12,9 @@ def check():
if __name__ == "__main__": if __name__ == "__main__":
while True: #TODO 正式上线后,把下面的循环和time.sleep打开
# while True:
if check() == 1: if check() == 1:
os.popen('python diaryQueueUpdate.py') os.popen('python diaryQueueUpdate.py')
print("成功重启diaryQueueUpdate") print("成功重启diaryQueueUpdate")
time.sleep(300) # time.sleep(300)
\ No newline at end of file \ No newline at end of file
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