Log file via mail

Hello everybody :slight_smile:

Actually i need some help because i am trying 2 days now to find a way sending the log file from mikrotik to my mail every 2 hours.

I tried almost any configuration but nothing works.

Can someone help me please?
I am running on os 6.37.3

My mail setup is ok because i can send mails from mikrotik.
I need a scheduler setup and script setup.

Thanks in advance.

John

Hello

Already having the file with the log in files. You can schedule to send using this command

/ Tool e-mail send to = β€œconfig@mydomain.com” subject = β€œ$ [/ system identity get name] log”
Body = β€œ$ [/ system clock get date] log file” file = mylog.log

http://wiki.mikrotik.com/wiki/Manual:Tools/email