Hello everyone.
Just a quick question.
My apologies if i am supposed to know that but anyway
I created a scheduler task with purpose to delete the one and only hotspot user and the re-create it.
So i noticed something strange that was breaking up the task.
In the scheduler I used the command: “/ip hotspot user remove 1”
and to my surprise i got “no such item (4)” …but the user was there
So i added “ip hotspot user print” and right after, the “/ip hotspot user remove 1” … and it worked.
My question is this. Isn’t the RouterOS aware of users ? Removing directly the user has no effect… but when i use the print command .. it works like a charm.
Yes just tried that .. just right after i posted.. and indeed is the best way to do it.
I didnt reallize that the number sequence is created only when the user uses the print command.
I thought it was already there and the OS was aware of this.
My bad.