Re: cron problem
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 <root@ppp-1-145> 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
--
##########################################################################
turner@inferno.ucis.dal.ca Shane Turner at Home
shane.turner@dal.ca at Work
--
This message was delayed because the list mail delivery agent was down.
Reply to:
- References:
- cron problem
- From: Lawrence Chim <ychim@yallara.cs.rmit.edu.au>