Skip to content

Commit

Permalink
Merge pull request #591 from cglewis/main
Browse files Browse the repository at this point in the history
fix timezone
  • Loading branch information
cglewis authored Feb 20, 2022
2 parents 643df37 + 6de2fde commit c514606
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 c514606

Please sign in to comment.