diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:18 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 26dd16d3b9b512c0bba7adf1a25ae25058cfef2d (patch) | |
tree | 83109b52d5f522b74047eee1179379859189f97d | |
parent | 72a03c4dbbc4ba1447864047626a046ff1333b71 (diff) |
backup-email: use :jobname to get script name
-rw-r--r-- | backup-email.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backup-email.rsc b/backup-email.rsc index b087f35..214c067 100644 --- a/backup-email.rsc +++ b/backup-email.rsc @@ -4,11 +4,12 @@ # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # # provides: backup-script, order=20 +# requires RouterOS, version=7.12 # # create and email backup and config file # https://git.eworm.de/cgit/routeros-scripts/about/doc/backup-email.md -:local 0 "backup-email"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |