update
This commit is contained in:
parent
63b8545904
commit
b8f06038fe
|
@ -4,7 +4,7 @@ import subprocess
|
|||
|
||||
|
||||
def job():
|
||||
subprocess.Popen(['supervisorctl reload'], shell=True)
|
||||
subprocess.Popen(['supervisorctl restart push_stream'], shell=True)
|
||||
|
||||
|
||||
# 每半小时执行一次
|
||||
|
@ -14,4 +14,4 @@ try:
|
|||
schedule.run_pending()
|
||||
time.sleep(5)
|
||||
except Exception as e:
|
||||
subprocess.Popen(['supervisorctl reload'], shell=True)
|
||||
subprocess.Popen(['supervisorctl restart push_stream'], shell=True)
|
||||
|
|
Loading…
Reference in New Issue