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.