output times from run.py

这个提交包含在:
Lynne Megido 2018-11-14 00:31:10 +10:00
父节点 ed25663054
当前提交 c0119bb38c
签署人:: lynnesbian
GPG 密钥 ID: FB7B970303ACE499

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