Title: Email-Notification with log attached Post by: martin on December 14, 2007, 10:34:51 AM Hello
I want to get an email as soon a S3Sync replication is finished. Within the email the log must be attached. Can someone support? Thanks for your answer Best regards Martin Title: Re: Email-Notification with log attached Post by: maximdim on December 14, 2007, 02:23:37 PM If you run your script from cron on Unix it will email any output produced by script back to the user.
Works fine for me. Title: Re: Email-Notification with log attached Post by: ferrix on December 14, 2007, 07:01:00 PM From a cron:
I have my commands send output to a log file, and if the result code was non-zero I 'cat' the log file so it will be emailed to me via the cron system. This way I don't have to care about logs when the procedure worked fine. |