added warning capabilities
This commit is contained in:
parent
396e5916a2
commit
2ca8ad5217
4 changed files with 106 additions and 7 deletions
1
timer.py
1
timer.py
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue