Refine
This commit is contained in:
@@ -59,7 +59,9 @@ def run_simulation_job() -> None:
|
|||||||
"""
|
"""
|
||||||
# 获取当前时间,并检查是否是整点15分钟
|
# 获取当前时间,并检查是否是整点15分钟
|
||||||
current_time = datetime.now()
|
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.")
|
print(f"{current_time.strftime('%Y-%m-%d %H:%M:%S')} -- Start simulation task.")
|
||||||
|
|
||||||
# 计算前,获取scada_info中的信息,按照设定的方法修改pg数据库
|
# 计算前,获取scada_info中的信息,按照设定的方法修改pg数据库
|
||||||
|
|||||||
Reference in New Issue
Block a user