From f4fd75db604ee89b24764c734c63ed1d39bf7942 Mon Sep 17 00:00:00 2001 From: Khushal P Soonderji Date: Tue, 17 Feb 2026 17:30:04 +0530 Subject: [PATCH] (20260217) Fixed async. issue. --- scripts/cron.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/cron.py b/scripts/cron.py index dc7431b..52fd9ed 100644 --- a/scripts/cron.py +++ b/scripts/cron.py @@ -330,7 +330,10 @@ async def set_scheduler( # Run the scheduler: 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) # *****************************************************************************************************************