Page 1 of 1

Disable all simple queue!

Posted: Tue Feb 15, 2011 9:02 pm
by bronco1980
Hi All.. all my clients are PPPOE and the bandwith for each one is restricted by simple queue and scripts, all is good..
I'm woundering if there is a script that disable all simple queue at night?

Thank u all

Re: Disable all simple queue!

Posted: Tue Feb 15, 2011 9:25 pm
by fewi
/queue simple disable [/queue simple find]
/queue simple enable [/queue simple find]
And then schedule those at the times you want to run them. The manual on the scheduler shows how.

Re: Disable all simple queue!

Posted: Wed Feb 16, 2011 8:56 am
by bronco1980
thanks for replying..
I have test it but it didn't work, did u mean about [/queue simple find] the ''queue name'' or the target IP address, because i test both and i can see the script is counting on the ''Run Count'' but it did not disable all or any of the simple queues.
I'm, trying to disable all the simple queue not a single one,
can u give me an example pls!

Thanks again for replying
Waiting for your reply,

Re: Disable all simple queue!

Posted: Wed Feb 16, 2011 3:57 pm
by fewi
I meant exactly what I posted. Find without parameters returns all queues.

Re: Disable all simple queue!

Posted: Wed Feb 16, 2011 3:58 pm
by normis
paste exactly what Fewi posted, don't change anything! Copy and paste

Re: Disable all simple queue!

Posted: Wed Feb 16, 2011 6:33 pm
by bronco1980
Ok .. All is Good
Thank u Guys! :)