Code: Select all
/system script
add name=pppoe_dis source={
/interface pppoe-client disable [find name="<t-dsl-name>"]
:delay 10
/interface pppoe-client enable [find name="<t-dsl-name>"]
:log info "Script pppoe_dis - scheduled T-DSL-disconnect."
}
/ system scheduler
add name="sched_disconnect" on-event=pppoe_dis start-date=jan/01/2006 start-time=03:00:00 interval=1d \
comment="move daily T-DSL-disconnect to late night" disabled=no
(Perhaps some one of the "scripting-gods" could comment it? Seems to be working though)