wireless access list disable

good day for all
I want to remove mac on access list
but the attch script not working
any idea about that



add interval=1d name=" disable" on-event=“:foreach i in=[/wireless access list f
ind where comment ~"limit"] do={/wireless access list disable $i}\r
\n:delay 5s;\r
\n\r
\n” policy=reboot,read,write,test,password,sniff,sensitive,romon
start-date=apr/14/2020 start-time=09:02:15

From a terminal window try tu run the script manually.

:put [/wireless access list find where comment ~"limit"]

If this does not show anything, you do not have any access list with comment “limit”

If you see data then try cut/past this to cli.

{
:foreach i in=[/wireless access list find where comment ~"limit"] do={
	:put "disable $i"
	/wireless access list disable $i
}
}