This commit is contained in:
xyj 2024-03-05 09:31:47 +08:00
parent b8f06038fe
commit 1277fcc9f8
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ def job():
subprocess.Popen(['supervisorctl restart push_stream'], shell=True) subprocess.Popen(['supervisorctl restart push_stream'], shell=True)
# 每半小时执行一次 # 每半小时执行一次
schedule.every(10).minutes.do(job) schedule.every(10).minutes.do(job)
try: try: