added warning capabilities

This commit is contained in:
randogoth 2025-11-12 23:19:09 +02:00
parent 396e5916a2
commit 2ca8ad5217
4 changed files with 106 additions and 7 deletions

View file

@ -12,6 +12,7 @@ def check_timers(config):
if not timer.isRunning():
continue
print('Timer %s is running' % timer.name)
timer.maybeWarn(config.checkInterval)
# check for off limit apps
if timer.usage.isOffLimit():
print('Timer %s is off limit' % timer.name)