Ok I know the issue of dynamic queues being created above static queues in hotspot has been addressed, and I have a very short simple script that fixes that, but the problem is you must run it from terminal to make it work. If you create a script and then set up a schedule for it, the log files show the queues being moved but they dont actually move. I am using the same line of code :
/queue simple move [find where !dynamic] 0
. So any ideas why it works from cli but not from a script?
OK, I fix the answer: Because the syntax are wrong FOR ALL SCRIPT VERSION OF ROUTEROS, and also for the terrmianl version, if is not used (for terminal version only) on previous command “/queue simple print” or similar.
so to run it as a script, the syntax is different than when I run it in terminal? by the id you mean queue1, queue2 etc.? and how does that take into account the names of my static queues that need to be at the top of the list to work correctly?
But that name will change with each pass. Is there a way to move it to the top without using the name? or do I need to capture the name into a variable and pass it with each iteration?