Community discussions

MikroTik App
 
LdB
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Thu May 20, 2021 4:23 pm

PPPOE monthly reset script not working on OS7

Wed Nov 01, 2023 4:28 am

This following script has always worked flawlessly on OS6 but is failing on OS7.
It actually runs on the first of each month but wont kick the connections
Just wondering if anyone can see the problem?
:if ([/system clock get date]~"/01/") do={
/ppp/active/remove [/ppp/active/find]
:log info "PPP Reset"}  else={ :log info "PPP NOT Reset" }
 
 
LdB
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Thu May 20, 2021 4:23 pm

Re: PPPOE monthly reset script not working on OS7

Thu Nov 02, 2023 3:29 am

SIgh yes you are right ... had I been more observant the log says it all
Nov/01/2023 00:00:00 memory script info PPP NOT Reset
Thankyou very much for taking time to answer that I failed to notice the obvious.