This commit is contained in:
DingZQ
2025-02-09 12:49:08 +08:00
parent 0015152c04
commit b60e0fc1dc

View File

@@ -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数据库