I run the script from the scheduler and get:
pptp-ls terminating … - administrator request
the script is executed before
/ Interface pppoe-client set pppoe-vc disable = no;
/interface pptp-client set pptp-ls disable=yes;
/interface pppoe-client set pppoe-vc disable=yes;
:log info ($prefix . "aaa");
:local dumplist [/ip arp find]
:foreach i in=$dumplist do={
/ip arp remove $i
}
:log info ($prefix . "ARP cleaned");
ip route disable [find gateway=172.16.222.130];
:log info ($prefix . "bbb");
:delay 10s;
/interface pppoe-client set pppoe-vc disable=no;
:log info ($prefix . "ccc");
:delay 1s;
/interface pptp-client set pptp-ls disable=no;
:log info ($prefix . "ddd");
Rights on display, all of the terminal is performed.
OS 6.34.6
Where did I go wrong?