Community discussions

MikroTik App
 
raennik
just joined
Topic Author
Posts: 4
Joined: Wed Aug 08, 2012 1:33 pm

Script to remove user based on start time

Thu Nov 05, 2020 10:14 am

I got a script working that removes User Manager users based on uptime-used but would like it to remove users based on start time but don't find the constant for it, if anyone knows what it is please or if it needs to be done differently. Ultimately want to schedule the script to run daily which removes users that have start time >6d23h59m.

The uptime-used script:
/tool user-manager user remove [find where uptime-used>6d23h59m];
Cheers.

Who is online

Users browsing this forum: No registered users and 4 guests