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)