fix
This commit is contained in:
parent
abedd82cf5
commit
7a8b201478
@ -55,7 +55,7 @@ if __name__ == "__main__":
|
||||
schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job)
|
||||
else:
|
||||
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)
|
||||
while True:
|
||||
schedule.exec_jobs()
|
||||
|
Loading…
Reference in New Issue
Block a user