From b1523e81b6a602d406bb7a48f5ad2b1b4b2460b1 Mon Sep 17 00:00:00 2001 From: xyj <1090822794@qq.com> Date: Sat, 2 Mar 2024 11:12:52 +0800 Subject: [PATCH] update --- forever.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/forever.py b/forever.py index 4317b61..b059b9d 100644 --- a/forever.py +++ b/forever.py @@ -5,7 +5,6 @@ import subprocess def job(): subprocess.Popen(['supervisorctl reload'], shell=True) - print("任务执行了!当前时间:", time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())) # 每半小时执行一次 @@ -15,5 +14,4 @@ try: schedule.run_pending() time.sleep(5) except Exception as e: - print(e) subprocess.Popen(['supervisorctl reload'], shell=True)