This commit is contained in:
bvn13 2024-07-20 09:06:00 +03:00
parent abedd82cf5
commit 7a8b201478
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1 +1 @@
0.2.7 0.2.8