[TriLUG] Server script question

kevin at flanagannc.net kevin at flanagannc.net
Wed Jul 12 13:05:08 EDT 2006


Email size limits are generally on the receiving end, many do have a 10MB
or so limit.




> That'll work. I didnt know how to do email from the shell. Is there any
> way
> to limit the size of an email? Such as when the logfile gets so big then
> it
> will email that then when it gets that big again it will email that and so
> on?
>
>
> WA Brown
>
>
> ----- Original Message -----
> From: "Warren Myers" <volcimaster at gmail.com>
> To: "Triangle Linux Users Group discussion list" <trilug at trilug.org>
> Sent: Wednesday, July 12, 2006 12:56 PM
> Subject: Re: [TriLUG] Server script question
>
>
>> 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
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> --
>> 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/
>
>
> --
> 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/
>





More information about the TriLUG mailing list