refactor scheduler

This commit is contained in:
SpudGunMan
2025-10-25 12:22:02 -07:00
parent b69a187466
commit b4dc2207a6
4 changed files with 204 additions and 76 deletions
-10
View File
@@ -255,10 +255,6 @@ if games_enabled is True:
else:
gamesCmdList = ""
# Scheduled Broadcast Configuration
if scheduler_enabled:
import schedule # pip install schedule
# Sentry Configuration
if sentry_enabled:
from math import sqrt
@@ -1919,12 +1915,6 @@ def get_sysinfo(nodeID=0, deviceID=1):
sysinfo += f"📊{stats}"
return sysinfo
async def BroadcastScheduler():
# handle schedule checks for the broadcast of messages
while True:
schedule.run_pending()
await asyncio.sleep(1)
async def handleSignalWatcher():
global lastHamLibAlert
# monitor rigctld for signal strength and frequency