hello,
i am looking for a way to issue the reset-counters command from a script once a month but only for users with the prefix XY-. example:
users:
aa-001
aa-002
XY-001
XY-002
i want only XY-'s users counters to be reseted. is that somehow possible ? using the webinterface or the terminal is not an option.
regards
Jan
Hi,
sure that is possible,
take a foreach loop for all users and cut off the first x characters from the name.
The proof with one ore more if quests if string matches your desired.
If yes - reset counter.
At the moment i’m not in front of a MT box - so i can’t give you the exact code, but if you need it, i’ll give it to you thies evening.
Regards