(20260217) Fixed async. issue.
This commit is contained in:
+4
-1
@@ -330,7 +330,10 @@ async def set_scheduler(
|
|||||||
|
|
||||||
# Run the scheduler:
|
# Run the scheduler:
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
while True: time.sleep(10.0)
|
while True:
|
||||||
|
now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
printer("Heartbeat", now)
|
||||||
|
await asyncio.sleep(60.0)
|
||||||
|
|
||||||
|
|
||||||
# *****************************************************************************************************************
|
# *****************************************************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user