Hotspot Users
تنظيف جدول Hosts في الهوتسبوت — v6 & v7
يحذف أجهزة الهوتسبوت غير المصرّح لها وغير المتجاوزة (bypassed) حتى لا يمتلئ جدول Hosts بسجلات قديمة. يعمل من الـ Scheduler.
RouterOS v6 & v7
/system script add name=hotspot_host_cleanup source={
# EN: Remove hosts that are not authorized and not bypassed | AR: حذف الأجهزة غير المصرّح لها وغير المتجاوزة
/ip hotspot host remove [find where authorized=no bypassed=no];
}
# EN: Run it every hour (change the interval if you like) | AR: تشغيله كل ساعة (يمكنك تغيير الفترة)
/system scheduler add name=hotspot_host_cleanup interval=1h on-event=hotspot_host_cleanup