Aggiunge task scheduler XML
This commit is contained in:
@@ -124,8 +124,8 @@ def migrate_config_data(data: dict[str, Any]) -> bool:
|
||||
if isinstance(server_check, dict) and int(server_check.get("port", 22)) == 22:
|
||||
server_check["port"] = 445
|
||||
changed = True
|
||||
if isinstance(server_check, dict) and int(server_check.get("interval_seconds", 300)) == 300:
|
||||
server_check["interval_seconds"] = 600
|
||||
if isinstance(server_check, dict) and int(server_check.get("interval_seconds", 300)) in {300, 600}:
|
||||
server_check["interval_seconds"] = 1800
|
||||
changed = True
|
||||
|
||||
destinations = backup.get("remote_destinations")
|
||||
|
||||
Reference in New Issue
Block a user