X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: Yes, hits=6.6 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-id: <01a401cb40b3$bc2c88f0$2a0010ac@wirelessworld.airvananet.com> From: "Pierre A. Humblet" To: "Blaine Miller" , References: <4C6EF8E2 DOT 1000404 AT coastside DOT net> Subject: Re: Using ssmtp called in a script called by a crontab entry... Date: Fri, 20 Aug 2010 18:05:00 -0400 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ----- Original Message ----- From: "Blaine Miller" To: Sent: Friday, August 20, 2010 17:51 | Hello, | | I have a need for ssmtp to send out a *job completed* email from within | a script that is called as an entry in a cron table. I've read all I can | from the *Installing and configuring ssmtp* man pages as well as the | Knowledgebase and FAQ's on the cygwin site. From what I gather it should | be possible to do this. Seen from the cron point of view, if the cron job produces any output on stdout or stderr, the output will be placed in an e-mail sent to you (you can configure the address in the MAILTO variable). As as recall, the ssmtp-config script will ask you if you want sendmail to point to ssmtp. If you answer yes, cron will use ssmtp to send the e-mail. Pierre -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple