delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/10/12:09:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <84dde90809100908xad510e0j46ab8d8242b1c662@mail.gmail.com>
Date: Wed, 10 Sep 2008 12:08:26 -0400
From: "Linus Hicks" <linush100 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cron without sendmail generates bogus logfile names
In-Reply-To: <48C6F81C.7020000@cygwin.com>
MIME-Version: 1.0
References: <84dde90809091503od758f6s6181346bb1c6f9f0 AT mail DOT gmail DOT com> <48C6F81C DOT 7020000 AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Tue, Sep 9, 2008 at 6:26 PM, Larry Hall (Cygwin) wrote:
>
> Try running the mailer script through 'd2u'.  If that doesn't work,
> it suggests a difference in the environment for the cron service
> versus your interactive shell.  Any chance you have another, Win32-
> native "date" hanging around?

Running d2u had no effect on cronlog, but I missed the step of setting
PATH in the crontab file. The system path had the offending date
program, so now that I'm setting PATH in the crontab file, it's
finding the right date executable. Thanks for you help.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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