From 94113e302551b46735cb952ca8d3c4368a329219 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Fri, 19 Jul 2024 09:10:54 +0300 Subject: [PATCH] upd --- src/main.py | 5 +++-- version | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 3fb75f8..156e1c0 100644 --- a/src/main.py +++ b/src/main.py @@ -49,9 +49,10 @@ if __name__ == "__main__": bot.send_weather(WeatherTask('shkolniy', "{0}".format(shkolniy_weather))) def scheduled(): - schedule = Scheduler() + schedule = Scheduler(tzinfo=tz_msk) # schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job) - schedule.daily(dt.time(hour=9, minute=0, tzinfo=tz_msk), shkolniy_weather_job) + schedule.daily(dt.time(hour=9, minute=15, tzinfo=tz_msk), shkolniy_weather_job) + logger.info(schedule) while True: schedule.exec_jobs() time.sleep(1) diff --git a/version b/version index 373f8c6..72f9fa8 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.2.3 \ No newline at end of file +0.2.4 \ No newline at end of file