Script for making queues and graphs

Hello again!
In order to have Graph of usage of my users in hotspot server (for example) I do this:

make unlimited queue with lowest (8) priority with target IP of my User with name of my user.
then I go to graphs and make graph out of that queue. and just make it available for that specific IP and my server IP.

So is there any script to do this all automatically?
I mean when I make user in UM or when he/she log in?

There’s on-login and on-logout scripts in the user’s hotspot profile. You can use those.

There’s no way to let User Manager do the same though, so if the user has logged in by other means, you can’t do an on-login script.

yes I know about log-in script, but do you have some of these script or shall I write one? (I’m too lazy :laughing: )