Date script not working from 6 to 7

The date format was updated in ROS7.10, and your code needs to be updated accordingly.

Check e.g. this thread for more info: http://forum.mikrotik.com/t/warning-routeros-v7-10-will-break-all-scripts-based-on-system-clock-get-date-or-other-date-s/166576/1

I think this will do it for you:

:global input [/system clock get date]
:global xxx ([:pick $input 5 7]."/".[:pick $input 8 10]."/".[:pick $input -1 4])
/log info "$xxx"

/ppp secret
:foreach i in=[find] do={
    :local name1 [get $i name]
    :local name [get $i routes]

    :if ($xxx=$name) do={
    /ppp secret disable [/ppp secret find name=$name1]
    /ppp active remove [find name=$name1] }
}

No guarantees… :slight_smile: