From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 08:36:05 2003 Return-Path: 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 C5A6816A4CE for ; Wed, 26 Nov 2003 08:36:05 -0800 (PST) Received: from relay1.ftech.net (ibm2.ftech.net [212.32.16.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69F3843FD7 for ; Wed, 26 Nov 2003 08:36:04 -0800 (PST) (envelope-from stuart.gibson@bridgeman.co.uk) Received: from mailgate.ftech.net ([195.200.0.68]) by relay1.ftech.net with esmtp (Exim 3.36-ftechp12 #2) id 1AP2e3-0008C9-00 for freebsd-questions@freebsd.org; Wed, 26 Nov 2003 16:36:03 +0000 Received: from 130-12-32-212.briman-ll.ll.ftech.net ([212.32.12.130] helo=balhost11) by mailgate.ftech.net with esmtp (Exim 3.36-ftechp12 #1) id 1AP2e3-0004Gw-00 for freebsd-questions@FreeBSD.ORG; Wed, 26 Nov 2003 16:36:03 +0000 From: stuart.gibson@bridgeman.co.uk To: freebsd-questions@FreeBSD.ORG Date: Wed, 26 Nov 2003 16:41:56 -0000 MIME-Version: 1.0 Message-ID: <3FC4D7D4.11526.C30C22@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body Subject: crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 16:36:05 -0000 Hi, I have a number of scripts that run every night using a crontab. In my crontab file I'm using the MAILTO flag to get cron to email me every time it runs which results in a lot of emails. Is there any way of instructing cron to only email me if the cron job fails? regards 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, =91Lightbox=92 facilities for improved searching, =91My 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.