Without Radius Server Day & Data Limit pkg Set in Mikrotik | Delete expired HotSpot users script

Опубликовано: 28 Сентябрь 2024
на канале: Technical Ahmad
1,388
24

Without Radius Server Day & Data Limit pkg Set in Mikrotik | Delete expired HotSpot users script
Script:
local a $user
if ([len [/system scheduler find name=$a]] = 0) do={[
/system scheduler add name=$a interval="30d 00:00:00" start-time="03:00:00" on-event="if ([len [/ip hotspot user find name=$a]] = 1) do={[/ip hotspot user remove [find name=$a]]}
/system scheduler remove [find name=$a]"
]}


Technical Ahmad



#mikrotik
#mikrotikrouter
#mikrotikrouterboard