S3Sync.net
February 02, 2014, 01:37:59 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Questions
>
Email-Notification with log attached
Pages: [
1
]
« previous
next »
Print
Author
Topic: Email-Notification with log attached (Read 2727 times)
martin
Newbie
Posts: 1
Email-Notification with log attached
«
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
Logged
maximdim
Newbie
Posts: 1
Re: Email-Notification with log attached
«
Reply #1 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.
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Email-Notification with log attached
«
Reply #2 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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...