From 6de2fdebade4c0f6ca08a0b1e01e2b7e01565022 Mon Sep 17 00:00:00 2001 From: cglewis Date: Sun, 20 Feb 2022 10:36:30 -0800 Subject: [PATCH] fix timezone --- PiBuoyV2/services/s3-upload/s3_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PiBuoyV2/services/s3-upload/s3_app.py b/PiBuoyV2/services/s3-upload/s3_app.py index 118c7b23..5311b76c 100755 --- a/PiBuoyV2/services/s3-upload/s3_app.py +++ b/PiBuoyV2/services/s3-upload/s3_app.py @@ -77,7 +77,8 @@ def job(hostname): def main(): hostname = os.getenv("HOSTNAME", platform.node()) - schedule.every().day.at("13:00").do(job, hostname) + # time is in UTC because it's a container + schedule.every().day.at("18:00").do(job, hostname) while True: schedule.run_pending() time.sleep(60)