Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 22:10:24 -0400
From:      "Jerry Bell" <jerry@stelesys.com>
To:        <questions@FreeBSD.ORG>
Subject:   Re: cron and syslog
Message-ID:  <004b01c11faf$49b98f40$0a01a8c0@jbell>

next in thread | raw e-mail | index | archive | help
I misread the question.  I was referring to the emails that cron sends out.
This is in reference to the syslog output, which cannot be selectively
enabled or disabled for certain cron entries.

Apologies for the extra email and the confusion,

Jerry
----- Original Message -----
From: "Jerry Bell" <jerry@stelesys.com>
To: "vijay singh" <vijay@IPRG.nokia.com>; <questions@FreeBSD.ORG>
Sent: Tuesday, August 07, 2001 9:00 PM
Subject: Re: cron and syslog


> Append:
> 2>&1 >/dev/null
> to the end of the lines you want to discard the output from.  That
redirects
> stderr to stdout and both to /dev/null instead of to an email.
>
> Jerry
> http://www.syslog.org
>
> ----- Original Message -----
> From: "vijay singh" <vijay@IPRG.nokia.com>
> To: <questions@FreeBSD.ORG>
> Sent: Tuesday, August 07, 2001 1:08 PM
> Subject: cron and syslog
>
>
> > Hello, everytime cron runs a job it posts a message to syslog. Is it
> > possible to selectively shut this off for some very frequently run jobs?
> > It might be possible to do this by setting the message log level lower
> > for such jobs, and then filtering them off using syslog.conf but I am
> > not sure how to do this. Any help would be appreciated. Kindly cc me as
> > I am not on this list.
> >
> > regards
> > vijay
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004b01c11faf$49b98f40$0a01a8c0>