mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
upload-backup: remove file after upload
This commit is contained in:
@@ -68,6 +68,8 @@ $WaitFullyConnected;
|
||||
:set BackupFile "failed";
|
||||
:set Failed 1;
|
||||
}
|
||||
|
||||
/ file remove ($FilePath . ".backup");
|
||||
}
|
||||
|
||||
# create configuration export
|
||||
@@ -84,6 +86,8 @@ $WaitFullyConnected;
|
||||
:set ConfigFile "failed";
|
||||
:set Failed 1;
|
||||
}
|
||||
|
||||
/ file remove ($FilePath . ".rsc");
|
||||
}
|
||||
|
||||
$SendNotification2 ({ origin=$0; \
|
||||
|
Reference in New Issue
Block a user