output times from run.py
这个提交存在于:
父节点
ed25663054
当前提交
c0119bb38c
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
1
run.py
1
run.py
|
@ -21,6 +21,7 @@ for row in dc.fetchall():
|
|||
settings = json.loads(row['settings'])
|
||||
t = int(time.time())
|
||||
next_check = row['last_check'] + row['time_between_checks'] * 60
|
||||
print("current time: {} waiting for: {}".format(t, next_check))
|
||||
if next_check <= t:
|
||||
row['time_between_checks'] = cfg['min_time_between_checks']
|
||||
#time to check
|
||||
|
|
正在加载…
添加表格
在新工单中引用