upd time
This commit is contained in:
parent
c3b2f2938a
commit
5ed0f9c4e7
@ -49,7 +49,7 @@ if __name__ == "__main__":
|
|||||||
def scheduled():
|
def scheduled():
|
||||||
schedule = Scheduler()
|
schedule = Scheduler()
|
||||||
# schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job)
|
# schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job)
|
||||||
schedule.daily(dt.time(hour=0, minute=24), shkolniy_weather_job)
|
schedule.daily(dt.time(hour=7, minute=0), shkolniy_weather_job)
|
||||||
while True:
|
while True:
|
||||||
schedule.exec_jobs()
|
schedule.exec_jobs()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user