parent
73872af548
commit
8a43526aab
2
main.py
2
main.py
@ -32,7 +32,7 @@ def check():
|
|||||||
|
|
||||||
|
|
||||||
def run_scheduler(stop_event):
|
def run_scheduler(stop_event):
|
||||||
schedule.every(1).minutes.do(check)
|
schedule.every(5).minutes.do(check)
|
||||||
while not stop_event.is_set():
|
while not stop_event.is_set():
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user