Improve docs, backup scripts and sms forward/email script

This commit is contained in:
Pothi Kalimuthu 2022-02-20 10:47:51 +05:30
parent 1e7b29e615
commit 37c9394986
4 changed files with 42 additions and 56 deletions

View file

@ -1,7 +1,8 @@
# Backup scripts.
# requirements:
# filename: backup-scripts
# policy: ftp, read, write, policy, test
:local adminEmailAddress "admin@example.com"
:local deviceIdentity [/system identity get name]
@ -11,7 +12,7 @@
/tool e-mail send to="$adminEmailAddress" \
subject="[Mikrotik $deviceIdentity] Backup of Scripts" \
body="See subject and attachment" \
body="See the subject and the attachment." \
file=scripts.rsc; :delay 10s
:log info "An email is probably sent to $adminEmailAddress."