Mikrotik Hotspot Bandwith Limit Autodisconnected and AutoKick users New
✅ 1. Bandwidth Limit per User (2M/2M) ✅ 2. Auto-Disconnect Inactive Users (10 Minutes) ✅ 3. Auto-Kick Users When Bandwidth Quota is Exceeded This scrip…
- Threads
- 0
- Words
- 10291
✅ 1. Bandwidth Limit per User (2M/2M) ✅ 2. Auto-Disconnect Inactive Users (10 Minutes) ✅ 3. Auto-Kick Users When Bandwidth Quota is Exceeded This scrip…
Generate backup and send it by e-mail
This script generates backup file and sends it to specified e-mail address. Mail subject contains router's name, current date and time.
Note that smtp server must be configured before this script can be used. See /tool e-mail for configuration options.
Script:
/system backup save name=email_backup
/tool e-mail send file=email_backup.backup to="[email protected]" body="See attached file" \
subject="$[/system identity get name] $[/system clock get time] $[/system clock get date] Backup")
Note: backup file contains sensitive information like passwords. So to get access to generated backup file, script or scheduler must have 'sensitive' policy.