Cut off the Internet for the client in a given time
Will run the customer service from 9 am to 10 pm
10 pm and in the timing Maikarotik time 22:00:00
Picture of the hours in the server
Part I
The idea is making Disable for account USER
Time 22:01:00 GMT Mikrotik
After
Remove account user for Acteve list
If the client tried to login to the network a message appears stating that the data introduced by incorrect
Part II
9 am At 9 am timing for Mikrotik
Making
Enable
Time 09:00:00
account of the customer in the list of USERS
Came the time for action
=====
There are some words in the script you need the Red Balloon modification of the network
man = Comment to the user
username = name of the user
script Action
/system script
add name=Enable-User policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="/ip hotspot user enable [/ip hotspot user find comment=man]"
add name=Disable-User policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="/ip hotspot user disable [/ip hotspot user find comment=man]"
add name=Remove-Acteve policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
":local username \"TheNameOfTheAccount\";\r\
\n/ip hotspot active { remove [find user=\"username\"] };"
script Time
/system scheduler
add comment="" disabled=no interval=12h name=Disable-User on-event=Disable-User policy=reboot,read,write,policy,test,password,sniff,sensitive start-date=jan/01/1970 start-time=\
22:00:00
add comment="" disabled=no interval=12h name=Enable-User on-event=Enable-User policy=reboot,read,write,policy,test,password,sniff,sensitive start-date=jan/01/1970 start-time=\
09:00:00
add comment="" disabled=no interval=12h name=Remove-Acteve on-event=Remove-Acteve policy=reboot,read,write,policy,test,password,sniff,sensitive start-date=jan/01/1970 start-time=\
22:01:00
Photos after the completion of the work of Scripting
See you in the next lesson
with you
Mohamed Samir