From a5fb874a20394840397b8dce2ceac3cf5dca738c Mon Sep 17 00:00:00 2001 From: YuruC3 Date: Sun, 9 Aug 2026 10:34:48 +0200 Subject: [PATCH] fixed a problem where scheduler didn't got the TZ --- .gitignore | 3 ++- main.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f5e96db..070fda1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -venv \ No newline at end of file +venv +docker-compose.dev.yaml \ No newline at end of file diff --git a/main.py b/main.py index 0f20acf..729ee50 100644 --- a/main.py +++ b/main.py @@ -420,7 +420,7 @@ def theCodeBasically(): -scheduler = BlockingScheduler() +scheduler = BlockingScheduler(timezone=RUN_SCHEDULE_TZ) scheduler.add_job( theCodeBasically, CronTrigger.from_crontab(