Skrip Auto Expired dan Mengapus User Expired Otomatis Sesuai Masa Aktif dan Limit Uptime.
Copy script ini kedalam profile Hotspot :
Misalnya Profile 1 Hari :
:local date [/system clock get date];
:local time [/system clock get time];
:log info "";
/system script add name=$user comment=$date policy=read,write source="/ip hotspot user remove [find name=$user]\r\nip hotspot active remove [/ip hotspot active find user=$user]\r\nsystem scheduler remove $user\r\nsystem script remove $user"
system scheduler add name=$user start-time="$time" interval=1d policy=read,write on-event=$user comment=$date
Tinggal ganti Interval Sesuai Masa Aktif :
1d = 1 Hari
7d = 7 Hari/Seminggu
30d = 30Hari/Sebulan
1h = 1 Jam
00:01:00 = 1 Menit