Hotspot

Hi guys,

Need a script to delete users have up time more than 1 mins for exact profile because there is 2 profiles for clients and 2 profiles for staff in that location RB951Ui used version 6.39.2

:foreach i in=[/ip hotspot user find where uptime>1m and profile=myporfilename] do={
/ip hotspot user remove $i;
}change “myprofilename” on first line to your hotspot profile name.

Thanks but how to run it on schdule every day on exact time or when rebooting means on system start up

Use scheduler and add ur script

nice one :slight_smile:

hi guys it stopped working after updating do you why or any new script to delete them !?