Unfortunately tickt me in the scheduler intervall always a mail purely although the ip has not changed. Can it be because I have two scripts with different interfaces? I know I am already on a neuerm os 6.39.1
($ Ipadd! = $ Thisip) does not work there?
Greetings from switzerland
/system script
add name=sfp1-wan-ip-send owner=m4bwema policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":global ipadd;\
\n:local thisip [/ip address get [find where interface=sfp1-pppoe] address];\r\
\n\r\
\n:if (\$ipadd != \$thisip) do={\r\
\n /tool e-mail send to=\"
mail@mail.ch\" subject=\"ip change\" body=\"ip-sfp1-pppoe
\n set ipadd \$thisip;\r\
\n}"
add name=sfp2-wan-ip-send owner=m4bwema policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":global i
\n:local thisip [/ip address get [find where interface=sfp2] address];\r\
\n\r\
\n:if (\$ipadd != \$thisip) do={\r\
\n /tool e-mail send to=\"
mail@mail.ch\" subject=\"ip change\" body=\"ip-sfp2
\n set ipadd \$thisip;\r\
\n}"