cron MAILTO
Al Arzaga
freebsd at arzaga.net
Wed Nov 5 05:29:32 PST 2003
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 at 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 at bridgemanart.com
>
> The Bridgeman Giraudon, France
> T +33 (0)1 55 80 79 10
> paris at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
More information about the freebsd-newbies
mailing list