Sending webproxy log file with visited sites to email

I would like to send log files from my WebProxy where the visited pages are included. Daily these files is about 5. The path to the log file is usb1/log.txt, and more are usb1/log1.txt, usb/log2.txt and so on. What I need to do in addition to these log files to be sent, for example, every day at 3 am, at the same time after the email is sent ,the log files should be deleted, can you write such a script for me please? :slight_smile:

i hope here is your solution.
it will be help you to do this.

http://forum.mikrotik.com/t/script-to-save-logs-and-send-via-email/19480/1

how did u set up the router to generate and store webproxy logs on a usb disk?