From owner-freebsd-newbies@FreeBSD.ORG Wed Nov 5 05:29:31 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED60316A4CE for ; Wed, 5 Nov 2003 05:29:31 -0800 (PST) Received: from arzaga.net (adsl-64-109-180-25.dsl.chcgil.ameritech.net [64.109.180.25]) by mx1.FreeBSD.org (Postfix) with SMTP id EC82743F3F for ; Wed, 5 Nov 2003 05:29:30 -0800 (PST) (envelope-from broohaha@arzaga.net) Received: (qmail 27239 invoked by uid 1001); 5 Nov 2003 13:30:23 -0000 Date: Wed, 5 Nov 2003 07:30:23 -0600 From: Al Arzaga To: freebsd-newbies@freebsd.org Message-ID: <20031105133023.GA27189@arzaga.net> Mail-Followup-To: freebsd-newbies@freebsd.org References: <3FA8EFBE.19204.45F3592@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA8EFBE.19204.45F3592@localhost> User-Agent: Mutt/1.4.1i Subject: Re: cron MAILTO X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 13:29:32 -0000 http://www.opengroup.org/onlinepubs/007908799/xcu/crontab.html "If standard output and standard error are not redirected by commands executed from the crontab entry, any generated output or errors will be mailed, via an implementation-dependent method, to the user." So, you can do: command > logfile for each crontab entry. On Wed, Nov 05, 2003 at 12:40:30PM -0000, stuart.gibson@bridgeman.co.uk wrote: > Hi, > > Is there a way of getting cron to only email me if my cron jobs fail. At > the minute I use the MAILTO option with my email address and it > emails me everytime it runs one. I cant find anything in the man pages > about this. > > thanks in advance > > Stuart Gibson > > > Stuart Gibson > IT Assistant Manager > The Bridgeman Art Library > 17-19 Garway Road London W2 4PH, UK > T +44 (0)20 7908 1619 > F +44 (0)20 7792 8509 > www.bridgeman.co.uk > > > The Bridgeman Art Library is the world's leading source of fine art > images. > > > Our website has now been completely redesigned to make finding the > perfect image easier than ever. New features include: thousands more > images, an easy-to-use design, ?Lightbox? facilities for improved > searching, ?My Bridgeman section for managing your images, inspiring > selections by Bridgeman Picture Researchers, a full listing of all our > museums, artists and collections and comprehensive online help. Try > out the new site now at www.bridgeman.co.uk > > International Offices: > > The Bridgeman Art Library International, USA > T +1 212 828 1238 > newyork@bridgemanart.com > > The Bridgeman Giraudon, France > T +33 (0)1 55 80 79 10 > paris@bridgeman.fr > > > This email is confidential and should not be used by anyone who is not > the original intended recipient. The Bridgeman Art Library cannot > accept liability for statements made which are clearly the sender's own > and not made on behalf of the Bridgeman Art Library. > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"