Hi,
I'm not very familiar in scripting, it seems to me this shouldn't be hard to do, but I didn't manage to find similar items.
I need to print in file signal strenght of specific wireless client, for example, every second.
This is the command:
/interface wireless registration-table print brief interval=1s where mac-address=xxxxxx
The result of this command is:
# INTERFACE RADIO-NAME MAC-ADDRESS AP SIGNAL... TX-RATE
0 wlan1 xxxxxxxxxxxxxxxxxxx no -61dBm... 5.5Mbps
If i put file in command:
/interface wireless registration-table print brief file="name_1" where mac-address=xxxxxxxxxxxxx
and put scheduler to 1s, it is no good.
The script is writing repeatedly in the same file and file is corrupted (it has /r/n in it's name when I issue file print in terminal).
Can someone help me about this. How should I write the script?