Page 1 of 1

delay

Posted: Sat Oct 16, 2010 7:56 pm
by kazanova
i want up-script delay 10 second before take action (desable dsl)
add comment="" disabled=no down-script="/interface ethernet enable dsl" host=192.168.10.10 interval=1m timeout=1s \
up-script="/interface ethernet disable dsl

Re: delay

Posted: Sat Oct 16, 2010 9:03 pm
by fewi
Add ":delay 10;" before the rest of the script.
http://wiki.mikrotik.com/wiki/Manual:Sc ... l_commands

Re: delay

Posted: Mon Oct 18, 2010 12:36 pm
by kazanova
ithx for help but not get who i should it

Re: delay

Posted: Mon Oct 18, 2010 1:40 pm
by janisk
you write like this:
<command>; <command>; <command>;
where <command> is what you like it to be, for example:
/ip addr print; :delay 10; /ip route print;