I write a script and I observed memory leak
Would you check where is mistake
This script should double the transfer between 24:00 and 12:00. I have a ppp users that login and SQ is take from radius. I must check SQ every few minutes because my users login on difference time on the day.
/system scheduler
add comment="" disabled=no interval=10m name=Check on-event=
:global Time [/system clock get time ]; :if ([$Time] < 12:00:00) do={/system script run Night} else={/system script run Day}
/system script
add name=Day policy=ftp,reboot,read,write,policy,test,winbox,password,sniff source=
/queue simple
set [find limit-at=\"128k/512k\"] comment=\"\" max-limit=128k/512k
add name=Night policy=ftp,reboot,read,write,policy,test,winbox,password,sniff source=
/queue simple
:if ([:len [ find comment=""]] = 0) do={:put no-512} else={set [find limit-at="128k/512k"] comment="Night-512" max-limit=128k/1024k}