On Thu, 21 Nov 1996, Lawrence Chim wrote:

> I don't know why cron always send mail to root with the following
> body.  Any idea?
> 
> Subject: Cron <[EMAIL PROTECTED]> run-parts /etc/cron.daily
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env:
> <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <LOGNAME=root>
> 
> getopt: illegal option -- o
> 
> lawrence,

I just had the same problem the other day.

The problem is in the script /etc/cron.daily/smail.
The line
savelog -o root .......
should be
savelog -u root .......

I think there might even be a man page for savelog.

Fix that and your error message will go away.

Ciao,
        Shane

--
##########################################################################
[EMAIL PROTECTED]                             Shane Turner at Home
[EMAIL PROTECTED]                                                  at Work

--
This message was delayed because the list mail delivery agent was down.

Reply via email to