This used to return a date.
/system clock get date
After updating Mikrotik it no longer does.
The script in question:
:if ([:pick [/system clock get date] 0 3] = “jan”) do { /ip hotspot user set 0 password=hot_password99 }
This used to return a date.
/system clock get date
After updating Mikrotik it no longer does.
The script in question:
:if ([:pick [/system clock get date] 0 3] = “jan”) do { /ip hotspot user set 0 password=hot_password99 }
This line is the problem
/ip hotspot user set 0 …
Do not use console buffered numbers to set something in scripts, it is not going to work properly.
[find where name=guest]
Fixed it. Thanks.