Community discussions

MikroTik App
 
Stiflerakos
newbie
Topic Author
Posts: 35
Joined: Sat Jan 14, 2017 1:28 pm

Log file via mail

Sat Jan 14, 2017 1:32 pm

Hello everybody :)

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
 
User avatar
leoservices
Trainer
Trainer
Posts: 169
Joined: Fri Jan 13, 2012 2:20 am
Location: Belo Horizonte - MG - Brazil
Contact:

Re: Log file via mail

Sun Jan 15, 2017 4:38 am

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

Who is online

Users browsing this forum: No registered users and 37 guests