Re: cron without sendmail generates bogus logfile names

2008-09-10 Thread Linus Hicks
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?

cron without sendmail generates bogus logfile names

2008-09-09 Thread Linus Hicks
The poor man's mailer included as part of the cron package uses the following construct to generate part of the filename used in making log file names: DATE=$(date '+%Y%m%d_%H%M%S') It then generates the filename as: FILE=/tmp/cron.$DATE.$$.log However, it seems to be tacking on a CR character

Re: cron without sendmail generates bogus logfile names

2008-09-09 Thread Larry Hall (Cygwin)
Linus Hicks wrote: The poor man's mailer included as part of the cron package uses the following construct to generate part of the filename used in making log file names: DATE=$(date '+%Y%m%d_%H%M%S') It then generates the filename as: FILE=/tmp/cron.$DATE.$$.log However, it seems to be