[TriLUG] Server script question
Warren Myers
volcimaster at gmail.com
Wed Jul 12 12:56:22 EDT 2006
you can cron the job to run similar to the following:
$ crontab -e
0 0 * * * mail -s 'log files' youremail at domain.extension <
/path/to/log/files
then save your crontab
Warren
On 7/12/06, WA Brown <brownwa at ftc-i.net> 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
More information about the TriLUG
mailing list