get command syntax and semantics?
Posted: Mon Jan 19, 2009 4:27 pm
In fact, yes. I have no idea why my article showed up in the article preview but did end up posted empty. I apologize.did you want to ask something?
[admin@microtik] /ip hotspot user> get tester
[admin@microtik] /ip hotspot user> get tester uptime
[admin@microtik] /ip hotspot user> print
Flags: X - disabled, D - dynamic
# SERVER NAME ADDRESS PROFILE UPTIME
0 tester 211WLANhot 58m9s
[admin@microtik] /ip hotspot user> find name=tester
[admin@microtik] /ip hotspot user> find name="tester"
[admin@microtik] /ip hotspot user>
:put [get tester uptime]
[admin@microtik] /ip hotspot user> /system script print
Flags: I - invalid
0 name="kill-used-wlan-accounts" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff
last-started=jan/20/2009 15:12:00 run-count=31 source=
:foreach a in=[/ip hotspot user find uptime!=0 ] do={
:put $a
:put [/ip hotspot get $a name]
}
[admin@microtik] /ip hotspot user> /system script run 0
*1
211AuthHot
*cb
*cc
*cd
*ce
*cf
*d0
*13a
[admin@microtik] /ip hotspot user>