mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-03 17:54:35 +02:00
global-functions: add function to notify via e-mail and telegram
This commit is contained in:
parent
977a5d5f5e
commit
5e4ef0ab8f
2 changed files with 40 additions and 0 deletions
|
@ -16,6 +16,11 @@
|
|||
:global "email-backup-to" "mail@example.com";
|
||||
:global "email-backup-cc" "";
|
||||
|
||||
# You can send Telegram notifications. Register a bot
|
||||
# and add the token and chat ids here.
|
||||
:global "telegram-tokenid" "123456:ABCDEF-GHI";
|
||||
:global "telegram-chatid" "12345678";
|
||||
|
||||
# This defines what backups to generate and what password to use.
|
||||
:global "backup-send-binary" false;
|
||||
:global "backup-send-export" true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue