RouterOS 7.10.+ use Date on ISO format, so something like " /ip firewall address-list remove [find where (creation-time< $daysago and list= $theList )] " work without use any clycle and is faster. Just calc $daysago 30 days less than "today" pseudocode, if RouterOS have such fun...
i was able to get yesterday date using following script.but recent updates killed it. Can anyone fix this for me func_date ################################################################### func_shiftDate - add days to date # Input: date, days # date - "jan/1/2017" # days - number, +/- ##...
Is there anyone can build this script. i also want similar script that need to delete address list old than 60 days. I can't use dynamic IP timeout settings due to power failures.