Community discussions

MikroTik App
 
bronco1980
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Wed Jul 22, 2009 5:02 pm

Disable all simple queue!

Tue Feb 15, 2011 9:02 pm

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
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Disable all simple queue!

Tue Feb 15, 2011 9:25 pm

/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.
 
bronco1980
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Wed Jul 22, 2009 5:02 pm

Re: Disable all simple queue!

Wed Feb 16, 2011 8:56 am

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,
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Disable all simple queue!

Wed Feb 16, 2011 3:57 pm

I meant exactly what I posted. Find without parameters returns all queues.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27073
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Disable all simple queue!

Wed Feb 16, 2011 3:58 pm

paste exactly what Fewi posted, don't change anything! Copy and paste
 
bronco1980
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 63
Joined: Wed Jul 22, 2009 5:02 pm

Re: Disable all simple queue!

Wed Feb 16, 2011 6:33 pm

Ok .. All is Good
Thank u Guys! :)