I'm new here and I've tried searching for the answer here and through google. Course the terms mail and logs, brings up tons of hits for email logs. Anyways, I'd like to setup a cron job that will email me certain log files every morning. How do I get started.
Thanks
Ren
Cron Job email system log files?
Cron Job email system log files?
cong ty thông cống nghẹt gia re, dich vu rut ham cau chuyen nghiep
Re: Cron Job email system log files?
You can use the mailx program to send mail (assuming you've already setup your postfix to act as a relay or whatever you require) and then use something like mailx -s '<subject>' -a <file_to_attach> <address_to_send_it>
man mailx lists the (lots of) options.
man mailx lists the (lots of) options.