From owner-freebsd-questions Wed Aug 21 23:54:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93FB637B400 for ; Wed, 21 Aug 2002 23:54:12 -0700 (PDT) Received: from relay2.agava.net.ru (ofc.agava.net [195.161.118.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D095D43E72 for ; Wed, 21 Aug 2002 23:54:11 -0700 (PDT) (envelope-from mcsi@agava.com) Received: from ultra.domain (ultra.domain [192.168.1.58]) by relay2.agava.net.ru (Postfix) with ESMTP id 8C908477565 for ; Thu, 22 Aug 2002 10:55:30 +0400 (MSD) Received: from agava.com (localhost [127.0.0.1]) by ultra.domain (8.12.5/8.12.5) with ESMTP id g7M6tTRH087960; Thu, 22 Aug 2002 10:55:29 +0400 (MSD) (envelope-from mcsi@agava.com) Message-ID: <3D648AE0.3020106@agava.com> Date: Thu, 22 Aug 2002 10:55:28 +0400 From: Maxim Maximov Organization: AGAVA Software User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: ru, en-us MIME-Version: 1.0 To: Lord Raiden Cc: FreeBSD Questions Subject: Re: Getting cron not to send errors about certain events References: <4.2.0.58.20020821165425.00a08b30@192.168.0.25> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 you may want to use shell redirection commands: */5 * * * * fetchmail >/dev/null 2>&1 Lord Raiden wrote: > I've got this one pesky little spammer that keeps sending me > messages and fetchmail keeps throwing errors because of this and it's > getting annoying. Is there a way that I can get cron not to send error > reports about one particular event while still sending them for all the > others? If not, is there a way to get cron to dump its error messages > to a file instead of emailing me each time it has a hickup with > fetchmail? Thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Maxim Maximov System Administrator AGAVA Software (http://www.agava.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message