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?
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
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
3 matches
Mail list logo