[SWLUG] Crontab Email Size Limitation

Matthew Moore matt at matthewmoore.org.uk
Fri Sep 2 07:09:00 UTC 2011


On 02/09/11 07:59, Jon Reynolds wrote:
>
>   Hi Folks,
>
>   I have a crontab job set up to do a backup once a week (I use s3sync to
>   send files to AWS S3).
>
>   I sends me an email with the results of the script. The results are in
>   the form of showing what s3sync is doing, line by line, file by file, so
>   I can see what has been sent to S3.
>
>   The problem I seem to have is that the email just seems to stop
>   suddenly, like it is being truncated (mid line sometimes).
>
>   What I want to know is whether this is just some sort of size limit on
>   the email message being sent or whether my backup script actually is
>   stopping before it is finished...
>
>   Thanks in advance.

It's possible.  Where is the email going? (I know that gmail will 
truncate massive emails).  Also can you check to see how big the emails 
are?  If they're all the same size, that might be a clue.  Also, just to 
be sure it's working, could you get it just to send a summary via email 
and maybe create logfiles with all the line by line stuff (do you really 
need an email with all that detail in it?).

Matt



More information about the Swlug mailing list