Hi everyone!
I am creating a script to send a file log via e-mail with Mikrotik .
In "Script" I have the following script:
/tool e-mail send from="xx" to="xx" user="xx" password="xx" port="xx" start-tls=yes server=xx subject="test" body="This is a test log" file=LogBlackList.0.txt
/ file set LogBlackList.0.txt contents=""
What am trying to do is send the email every 24 hours and immediately clear the file's content, but the email that i receive is empty.
Any help would be appreciated.