Date: Tue, 7 Aug 2001 21:00:51 -0400 From: "Jerry Bell" <jerry@stelesys.com> To: "vijay singh" <vijay@IPRG.nokia.com>, <questions@FreeBSD.ORG> Subject: Re: cron and syslog Message-ID: <001601c11fa5$92632300$0a01a8c0@jbell> References: <3B7020A5.8391634C@iprg.nokia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?001601c11fa5$92632300$0a01a8c0>