From c0119bb38c504ce2b9c658d04fdbfb9db4deaf04 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 14 Nov 2018 00:31:10 +1000 Subject: [PATCH] output times from run.py --- run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run.py b/run.py index 7435fab..95bf70a 100755 --- a/run.py +++ b/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