Skip to content

Commit

Permalink
fix timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
cglewis committed Feb 20, 2022
1 parent 4a81e28 commit 6de2fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PiBuoyV2/services/s3-upload/s3_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6de2fde

Please sign in to comment.