This commit is contained in:
bvn13 2024-07-20 09:01:26 +03:00
parent 4f6762d49a
commit abedd82cf5
2 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ if __name__ == "__main__":
schedule = Scheduler()
schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job)
else:
Scheduler(tzinfo=tz_msk)
schedule.daily(dt.time(hour=9, minute=0, tzinfo=tz_msk), shkolniy_weather_job)
schedule = Scheduler(tzinfo=tz_msk)
schedule.daily(dt.time(hour=9, minute=5, tzinfo=tz_msk), shkolniy_weather_job)
logger.info(schedule)
while True:
schedule.exec_jobs()

View File

@ -1 +1 @@
0.2.6
0.2.7