Strange script problem

I have strange script/scheduler problem with 3.25-3.30 MTs.
On 2.9.xx and 4.xx everything works nice…

Script need to print registration-table to file. This file is taken by php ftp script into mysql.

/system scheduler
add comment=“” disabled=no interval=1m name=signali on-event=“/interface wireless \r
\nregistration-table \\r
\nprint file=brdo-vpn” policy=reboot,read,write,policy,test,password,sniff start-date=jan/01/1970 start-time=00:00:00

Any solution?

as a command - does it run on versions you are trying to run it (just command that is executed by scheduler).

As a comand everything works.

Script works even when it is run as a script… but when I put it in scheduler it is broken (no file).
It does not work even if script is run from schaduler. Counter show that script is executed but not file…

I found this problem on all my RBs with 3.25 to 3.30… (all 411). I can upgrade them to 4.xx because licence.
All other MTs with 2.9.27 and 4.xx works perfectly.

Regards

you can try to save script and then just run script from scheduler for now.

According to http://wiki.mikrotik.com/wiki/Manual:System/Scheduler the ‘on-event’ value must be the name of a script to run, not the text of the script itself. (I don’t remember when that changed.)