Community discussions

MikroTik App
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

schedul rules

Mon Feb 19, 2007 1:29 am

hi guys

i need to schedul these rules to run in spesific time

[admin@MikroTik] queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 D name="<hotspot1>" dst-address=0.0.0.0/0 interface=ether1 parent=none
direction=both priority=8 queue=hotspot-default/hotspot-default
limit-at=0/0 max-limit=0/0 total-queue=default-small


1 name="queue2" target-addresses=192.168.100.0/24 dst-address=0.0.0.0/0
interface=all parent=none direction=both priority=8
queue=PCQ_upload/PCQ_download limit-at=0/0 max-limit=0/0
total-queue=default-small


the first rule run from 1 am to 6pm
the second rule run from 6pm to 1am
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

Mon Feb 19, 2007 1:47 am

any one plz :(
 
User avatar
mneumark
Member
Member
Posts: 370
Joined: Thu Jun 08, 2006 7:20 am
Location: Escalon, CA
Contact:

Mon Feb 19, 2007 2:28 am

Create a script that will enable and disable the queues at the desired times. Then schedule it.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon Feb 19, 2007 9:09 am

Time is provided with each 'queue simple' entry, you can specify the amount of time, when queue is enabled.
As well you can follow mneumark suggestion with 'system script' and 'system scheduler'.

Who is online

Users browsing this forum: anav, homelap2024, Josephny, Xman1 and 34 guests