REDTDI
August 20, 2007, 6:42pm
1
I have tried to export a couple of scripts that I created in winbox from my 2.9.43 router. I got garbage out. Is this a known bug with MikroTik? I have also tried to create my scripts manually in Terminal and keep getting an invalid argument message.
The script I want to import to Terminal is:
/system script add name=scriptDailyReset policy=ftp,reboot,read,write,policy,test,winbox,password source=“:put [/ip firewall mangle reset-counters-all];”
If I remove the the script imports but doesn’t run.
Please help!
Ken
mrz
August 21, 2007, 6:41am
2
Sure it won’t work because script has syntax error if you remove .
And I don’t actually understand where is the problem.
karo84
August 23, 2007, 1:06pm
3
Yes it is right, when I export the scripts, I see some "", or “/” , I don’t understand Why?
What do they mean ? why they are created?
And at last when import script it doesn’t work correctly, or doesn’t work at all, Can You Explain this situation?
mrz
August 23, 2007, 1:12pm
4
/ is created to execute command from root menu
\ allows to execute multiple lines as single line. For example:
/ip address add address=10.1.101.1/24 broadcast=10.1.101.255
interface=ether1 network=10.1.101.0
is the same as:
/ip address add address=10.1.101.1/24 broadcast=10.1.101.255 interface=ether1 network=10.1.101.0