queue base on time

hello mr/mrs
could anyone give an example to use queue base on time
an example:
ip: 192.168.11.2 from 08.00 am until 06.00 pm get bandwidth 32kbps until 64kbps…and from 06.00 pm until 08.00 am get bandwidth 64kbps until 128kbps eveyday
i use mikrotik 2.9.2

thank you verymuch for sugestion

seach the forum, it has been posted before…

Can be done using Scripts and Scheduler.

First default queue

/queue simple add name=test dst-address=192.168.11.2/32 limit-at=32000/32000 max-limit=64000/64000

Next Scripts
/system script add name=“Day” source=/queue simple set [/queue simple find name=test] dst-address=192.168.11.2/32 limit-at=32000/32000 max-limit=64000/64000

/system script add name=“Night” source=/queue simple set [/queue simple find name=test] dst-address=192.168.11.2/32 limit-at=64000/64000 max-limit=128000/128000

Finally Scheduler
/system scheduler add name=“SDay” on-event=“Day” start-time=08:00:00 interval=1d

/system scheduler add name=“SNight” on-event=“Night” start-time=18:00:00 interval=1d

Think barring a few syntax errors the above will do the job. Mind you, i am doing this scripting from memory and not from a MT box!! Lemme know if it works and if it did’nt what you fixed to get it to work.

thank you very much to mr.cibernet and mr.fivenetwork for the answer
i will try that, if done i will post to this forum

thanks before