From b60e0fc1dc0d396c5e915ff3326bd5c134221fcf Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sun, 9 Feb 2025 12:49:08 +0800 Subject: [PATCH] Refine --- auto_realtime.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auto_realtime.py b/auto_realtime.py index b64c19d..a1f8500 100644 --- a/auto_realtime.py +++ b/auto_realtime.py @@ -59,7 +59,9 @@ def run_simulation_job() -> None: """ # 获取当前时间,并检查是否是整点15分钟 current_time = datetime.now() - if current_time.minute % 15 == 0: + # DingZQ + # if current_time.minute % 15 == 0: + if True: print(f"{current_time.strftime('%Y-%m-%d %H:%M:%S')} -- Start simulation task.") # 计算前,获取scada_info中的信息,按照设定的方法修改pg数据库