Mirotik queue change through API
I was implementing time based queue change. Rather than using mikrotik in-built scheduler i thought to execute a crontab through central location. Therefore i tried with except scripting but with telnet it failed or not working properly. I think the returned results might have any color coding input. while searching i stumble on the mikrotik perl api written by Hugh [URL:http://forum.mikrotik.com/viewtopic.php?f=8&t=22744]. i just edited the example code as follows. this is the upgrade this will be edited for the download. #!/usr/bin/perl -w #to define the api. BEGIN {push @INC, '/root/upgradefolder'} use Mtik ; $mtik_host = "192.168.28.49"; $mtik_user = "user_script"; $mtik_passwd = "passwordscript"; my(@cmd); push(@cmd,"/queue/simple/set"); push(@cmd,"=limit-at=6144000/6144000"); push(@cmd,"=max-limit=6144000/6144000"); push(@cmd,"=.id=2M"); $Mtik::debug = 0; if (Mtik::login($mtik_host,$mtik_user,$mti...