From owner-freebsd-questions Tue Aug 7 19: 7:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stelesys.com (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id E3DDF37B403 for ; Tue, 7 Aug 2001 19:07:36 -0700 (PDT) (envelope-from jerry@stelesys.com) Received: from jbell (client109037.atl.mediaone.net [24.31.109.37]) (authenticated) by stelesys.com (8.11.3/8.11.2) with ESMTP id f7829YY25648 for ; Tue, 7 Aug 2001 22:09:34 -0400 (EDT) (envelope-from jerry@stelesys.com) Message-ID: <004b01c11faf$49b98f40$0a01a8c0@jbell> From: "Jerry Bell" To: Subject: Re: cron and syslog Date: Tue, 7 Aug 2001 22:10:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Filter-Version: 1.3 (www.stelesys.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" To: "vijay singh" ; 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" > To: > 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