delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/26/00:48:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Paul Derbyshire" <derbyshire AT globalserve DOT net>
To: cygwin AT cygwin DOT com
Date: Fri, 26 Jul 2002 00:52:43 -0400
MIME-Version: 1.0
Subject: RE: (Fwd) Cron oddity
Reply-to: derbyshire AT globalserve DOT net
Message-ID: <3D409D5B.3682.47F7B210@localhost>
In-reply-to: <BADF3C947A1BD54FBA75C70C241B0B9E10AA77@ex02.idirect.net>

On 25 Jul 2002 at 18:43, Harig, Mark A. wrote:

> 1. You might try adding "echo" statements throughout your script (have
> them write to a file in /tmp).  This should help you to narrow down
> where the problem is occurring.
> 
> 2. Read the file /usr/doc/Cygwin/cron.README.  Consider downloading and
> installing the 'ssmtp' package and and setting it up to get cron to send
> you email with the output of commands that it runs.  Read the manual
> pages for ssmtp and cron for more details on how to do this: $ man ssmtp
> and   $ man cron.

Well, I installed ssmtp and put entries in the /etc/ssmtp/revaliases 
file for "root", "daemon", and my userid with this email address and 
my ISP's SMTP server, and let cron do its thing. No email almost an 
hour later; the Windows XP event log shows that cron did its thing 
and (attempted to) launch the script; and there's nothing in the way 
of error messages there or in /var/log/cron.log. There's also no 
dead.letter in ~, which would mean it attempted to send the mail and 
failed. Since it clearly didn't attempt to send the mail and fail, 
and equally clearly didn't attempt to send the mail and succeed, I 
can only conclude that it didn't attempt to send the mail at all. Any 
clue what's going on?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019