mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-05 20:03:48 +00:00
Update notification_events.py
This commit is contained in:
@@ -1396,10 +1396,10 @@ class TaskWatcher:
|
||||
# 2. Check active file for newly started tasks (backup start)
|
||||
self._check_active_tasks()
|
||||
|
||||
except Exception as e:
|
||||
print(f"[TaskWatcher] Error reading task log: {e}")
|
||||
|
||||
time.sleep(5) # Check every 5 seconds (reduced from 2s for efficiency)
|
||||
except Exception as e:
|
||||
print(f"[TaskWatcher] Error reading task log: {e}")
|
||||
|
||||
time.sleep(5) # Check every 5 seconds (reduced from 2s for efficiency)
|
||||
|
||||
def _check_active_tasks(self):
|
||||
"""Scan /var/log/pve/tasks/active to track vzdump for VM suppression.
|
||||
|
||||
Reference in New Issue
Block a user