I was trying to make a script, which will check the rate of the particular queue in queue tree. The idea is, that starting from 19h until 01h every 30 minutes to check the current rate of that queue, if the rate is less than the rate configured in the same but disabled queue, than to enable it and disable the active queue, but if the current rate is higher than the disabled queue configured rate, than to keep using the active queue and do nothing. What I can’t successfully achieve with the script is to get the rate of the queue, and of course I’m not quite good in scripting so any help of you guys will be appreciated.