Christian Hesse
009674b5bc
bump RouterOS requirement for all scripts and modules...
...
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-07 22:51:24 +02:00
Christian Hesse
4b69144ee4
backup-email: switch to $LogPrint
2024-03-12 20:37:57 +01:00
Christian Hesse
5f41bd1c1e
backup-email: pass failure to packages-update
2024-03-12 15:27:15 +01:00
Christian Hesse
3eb8fad5ae
backup-email: drop main function, use :do with on-error
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa
global-functions: $ScriptLock: do not exit from global function
2024-03-12 15:27:15 +01:00
Christian Hesse
19fb7b61ea
backup-email: move code into function
2024-03-04 16:33:54 +01:00
Christian Hesse
d0ff07b3cc
backup-email: use $CleanName
2024-01-31 23:10:15 +01:00
Christian Hesse
26dd16d3b9
backup-email: use :jobname to get script name
2024-01-30 00:52:21 +01:00
Christian Hesse
9a73fc526f
update copyright for 2024
2024-01-01 15:25:25 +01:00
Christian Hesse
d1abbede75
backup-email: get rid of '.txt' file extension
2023-11-22 21:18:39 +01:00
Christian Hesse
c3f9ad1df7
packages-update: implement backup script order
2023-09-13 01:14:27 +02:00
Christian Hesse
ce822a0276
backup-email: revert changes, add comment with warning
...
Turned out that using `/file/add ...` introduced a regression. Accessing
(reading and writing) file contents is limited to 4095 bytes.
This limitation does not exist for `:execute script=... file=...`, so
keep the old code. Also add a comment with warning.
2023-08-30 09:30:25 +02:00
Christian Hesse
1e247542a5
backup-email: check configuration size before writing file
2023-08-30 09:30:25 +02:00
Christian Hesse
07c6f5836a
backup-email: detect failure creating config file
2023-08-29 08:58:50 +02:00
Christian Hesse
ffc7521a35
backup-email: support indication of failure
2023-08-29 08:58:50 +02:00
Christian Hesse
3c96db5824
backup-email: write config file directly
...
This functionality was added in RouterOS 7.9beta4...
2023-08-29 08:58:50 +02:00
Christian Hesse
229e116999
backup-email: lock the script
2023-06-12 08:17:36 +02:00
Christian Hesse
637b5e21da
backup-email: use $FormatLine
2023-04-24 22:26:26 +02:00
Christian Hesse
a832fd04ef
rename scripts and add file extension ".rsc"
...
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00