Browse Source

output times from run.py

master
Lynne Megido 1 year ago
parent
commit
c0119bb38c
Signed by: Lynne <thecoolone3@gmail.com> GPG Key ID: FB7B970303ACE499
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      run.py

+ 1
- 0
run.py View File

@@ -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

Loading…
Cancel
Save