Code: Select all
/system scheduler
:foreach item in=[find where disabled] do={
:local disAcc [get $item name]
/ppp active
:foreach sname in=[find where name=$disAcc] do={
:local ip [get $sname address]
:local notif [get $sname name]
:log warning "Acc Name: $notif IP: $ip"
/ip firewall address add list=PPPOE-CLIENT-NOTIFY address=$ip comment=$notif
}
}