good nights, i have a script to send email when the router reboots, it works fine, but sometimes it runs when the router has not reboot, also i can see that my global variables disappears from the environment tab, i checked the uptime of the router and is normal,so the router has not been rebooted. any advice? thanks
the script rebot-email
:
name="reboot-email" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,
api
last-started=mar/03/2013 23:03:27 run-count=1 source=
:delay 60;
/tool e-mail send to="myuser@gmail.com" subject=("balancer1 reinicio") >
:log info "enviado reinicio.";
the system scheduler entry to run this script
name="reboot-email" start-time=startup interval=0s on-event=reboot-email
owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password,
sniff,sensitive,api
run-count=1