mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-07-02 18:54:30 +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 cron (schedules).
|
||||
|
||||
# requirements:
|
||||
# filename: backup-cron
|
||||
# policy: ftp, read, write, policy, test
|
||||
|
||||
:local adminEmailAddress pothi@duck.com
|
||||
:local deviceIdentity [/system identity get name]
|
||||
|
||||
|
@ -11,7 +12,7 @@
|
|||
|
||||
/tool e-mail send to="$adminEmailAddress" \
|
||||
subject="[Mikrotik $deviceIdentity] Backup of Cron Entries" \
|
||||
body="See subject and attachment" \
|
||||
body="See the subject and the attachment." \
|
||||
file=cron.rsc; :delay 10s
|
||||
|
||||
:log info "An email is probably sent to $adminEmailAddress."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue