Community discussions

MikroTik App
 
pabloluvino
just joined
Topic Author
Posts: 11
Joined: Mon Jan 08, 2018 10:54 pm

Perform script to delete user user-manager HELP

Mon Mar 19, 2018 7:38 pm

Good Morning.
I need to do the following and I can not find a way to do it.
I need to put together a script that runs automatically every day at midnight, looking for users of the user-manager to be used by clients (the idea is to search by "download-used".
(instead of looking if I use all your time connecting your voucher or use some of your time and you have remaining time, I found it more effective to search if that user had downloads.)

In summary, what I need the script to do is to find out which users were active, such as the voucher is for single use, to eliminate it if it was active.

I hope you can give me a hand.
Thank you very much for your time.

Greetings.

PS: excuse my English, esoty using a translator.
 
User avatar
ADahi
Member Candidate
Member Candidate
Posts: 209
Joined: Thu Sep 21, 2017 7:16 pm
Location: Iraq, Ninavah
Contact:

Re: Perform script to delete user user-manager HELP

Mon Mar 19, 2018 8:29 pm

viewtopic.php?f=10&t=121158#p649082
use it without scheduler :mrgreen:

Who is online

Users browsing this forum: No registered users and 9 guests