fix
This commit is contained in:
parent
4f6762d49a
commit
abedd82cf5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user