From owner-freebsd-net Wed Jul 14 22:26:59 1999 Delivered-To: freebsd-net@freebsd.org Received: from homer.web-ex.com (homer.web-ex.com [209.54.66.254]) by hub.freebsd.org (Postfix) with ESMTP id 9B1FB14FA2 for ; Wed, 14 Jul 1999 22:26:55 -0700 (PDT) (envelope-from jim@web-ex.com) Received: from localhost (jim@localhost) by homer.web-ex.com (8.9.3/8.9.3) with ESMTP id BAA05138; Thu, 15 Jul 1999 01:26:25 -0400 (EDT) (envelope-from jim@web-ex.com) X-Authentication-Warning: homer.web-ex.com: jim owned process doing -bs Date: Thu, 15 Jul 1999 01:26:25 -0400 (EDT) From: Jim Cassata To: pedro Cc: freebsd Subject: Re: Cron and Email In-Reply-To: <19990714185225.61585@hydrogen.fircrest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > pedro scribbled this message on Jul 15: > > I've got a cron running every 2 minutes and it mails me every 2 minutes. > > Is there a switch > > to tell the cron not to email me? > > how about fix your cron job so it doesn't produce any output? > Geez, I think that is what he is asking!! put this at the end of the executable in your crontab file: > /dev/null 2>&1 it will redirect output to /dev/null Jim Cassata 516.421.6000 jim@web-ex.com Web Express 20 Broadhollow Road Suite 3011 Melville, NY 11747 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message