Script for swopping ADSL accounts

Hi all

I am trying to write a script that will swop ADSL accounts at a certain time
My script is as follows:-

/interface pppoe-client set [find name="wan-int-disabled"] name="wan-int-disabled-temp";
:delay 1;
/interface pppoe-client disable [find name="wan-int"];
:delay 1;
/interface pppoe-client set [find name="wan-int"] name="wan-int-disabled";
:delay 1;
/interface pppoe-client set [find name="wan-int-disabled-temp"] name="wan-int";
:delay 1;
/interface pppoe-client enable [find name="wan-int"];
:delay 1;
:log info "Swopped Int ADSL Account";

It works perfectly when pasting it into the terminal but will not execute when using system scheduler.
When I try /system script run SwopADSL, I get the error “syntax error (line 2 column 6)”

Im very new at this, please help…/?

simply write ‘SwopADSL’ to schedule, w/o /system script run

I have tried putting ‘SwopADSL’ only in the schedule but it still won’t execute, the counter increments but the script does not run.
When I tried “/system script run SwopADSL”, this was in the terminal and not the scheduler.