Community discussions

MikroTik App
 
atuxnull
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Tue Feb 07, 2017 10:02 pm

enable/disable a particular queue from desktop PC

Mon Aug 22, 2022 2:32 pm

i have a few queues and i would like to create a shortcurt to my desktop PC (Win 10) so i could enable/disable a particular queue, without user interaction. Is there a way to do this please?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10550
Joined: Mon Jun 08, 2015 12:09 pm

Re: enable/disable a particular queue from desktop PC

Mon Aug 22, 2022 3:28 pm

Write a program that calls the MikroTik API to perform the actions.
It will depend on your type of computer (operating system) and your skills if this is a practical solution. I use it all time, using Perl programs (scripts) on Linux.
 
atuxnull
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Tue Feb 07, 2017 10:02 pm

Re: enable/disable a particular queue from desktop PC

Mon Aug 22, 2022 9:31 pm

not really a programmer. i am using win 10 and i would like to have something like a bat script for enable and one for disable of a particular queue.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3089
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: enable/disable a particular queue from desktop PC

Tue Aug 23, 2022 12:35 am