mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-06-24 15:08:39 +02:00
Improve docs, backup scripts and sms forward/email script
This commit is contained in:
parent
1e7b29e615
commit
37c9394986
4 changed files with 42 additions and 56 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue