Page 1 of 1

schedul rules

Posted: Mon Feb 19, 2007 1:29 am
by wissammohamed
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

Posted: Mon Feb 19, 2007 1:47 am
by wissammohamed
any one plz :(

Posted: Mon Feb 19, 2007 2:28 am
by mneumark
Create a script that will enable and disable the queues at the desired times. Then schedule it.

Posted: Mon Feb 19, 2007 9:09 am
by sergejs
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'.