Hello Harry!

> Is there a standard sort of way to make cron messages be mailed to an
> email address?

Not really.  Here's what I do:

<shelob:/home/volker,1268# crontab -l
#ident  "@(#)root       1.21    04/03/23 SMI"
#
# The root crontab should be used to perform accounting data collection.
#
[...]
#
# local additions:
10 4 * * * [ -x /root/bin/daily   ] && /root/bin/daily   2>&1 | /usr/bin/mailx 
-s "Script 'daily'"   volker
10 5 * * 0 [ -x /root/bin/weekly  ] && /root/bin/weekly  2>&1 | /usr/bin/mailx 
-s "Script 'weekly'"  volker
10 6 1 * * [ -x /root/bin/monthly ] && /root/bin/monthly 2>&1 | /usr/bin/mailx 
-s "Script 'monthly'" volker


Regards -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt                  Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim                     Email: [email protected]
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to