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