[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron problem



On Thu, 21 Nov 1996, Lawrence Chim wrote:

> Rick Macdonald wrote:
> > 
> > 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
> > > getopt: illegal option -- o
> > 
> > You might want to post the file "/etc/cron.daily" so we can see
> > what the problem is.
> 
> Here is the files in /etc/cron.daily.  Sorry if it is too many.

The man page for savelog doesn't show any "-o". My script has
"-u root", not "-o root".

Here's yours:

set -e
cd /var/log/smail
savelog -o root -g mail -m 644 -c 7 logfile paniclog >/dev/null


...RickM...

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


Reply to: