you can cron the job to run similar to the following:
$ crontab -e 0 0 * * * mail -s 'log files' [EMAIL PROTECTED] < /path/to/log/files then save your crontab Warren On 7/12/06, WA Brown <[EMAIL PROTECTED]> wrote:
How can I get the logs sent by email from my server to an email addy on a regular basis?Such as the error log or access log? I dont know enough scripting to figure it out. I use some shell scripts now. WA Brown -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
-- http://warrenmyers.com "God may not play dice with the universe, but something strange is going on with the prime numbers." --Paul Erdős "It's not possible. We are the type of people who have everything in our favor going against us." --Ben Jarhvi, Short Circuit 2
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
