Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21378

Scripting • hotspot usernam: deletion of user beyond the deadline

$
0
0
Hello everyone

I'm looking for a script that I would run every day at midnight, to delete users exceeding 7 days since the first connection as well as the associated sessions.

I have 3 privileges:
1 week
3 days
3 hours

I would like to repeat the script for each profile

so I'm looking to make a comparison between the date or time of the first connection (1 week, 3 days, 3 hours) and delete the user concerned as well as their session



Thank you for your help

Statistics: Posted by Philippe57 — Wed Feb 28, 2024 7:30 pm



Viewing all articles
Browse latest Browse all 21378

Trending Articles