From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621790.tru64-unix-managers.marc@archive.invalid> From: Andre Thompson Date: Tue, 12 Jun 2001 15:35:00 +0000 To: tru64-unix-managers Subject: SUMMARY: Subject for cron X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621790 Thanks to: Lucio Chiappetti Marco Bento Vincent Kiely Ron Bramblett Thomas Payerle William Bochnik Two good possibilities: 1. The popular one: at the cron command pipe the output of the cron to a mailx command eg: * * * * * * cronjob command | mailx -s "Subject" user@b.com 2. if the command is actually a script to be fired, then in the script place the same mailx command in 1 above into the script. Of course, you can modify option 1 and convert it into option 2 format. Once again, thanks very much -----Original Message----- From: Andre Thompson [mailto:AThompson@ADMIN.UWI.TT] Sent: Tuesday, June 12, 2001 10:57 AM To: Unix Managers (E-mail) Subject: Subject for cron Hi Managers I don't know if this is possible: You know that cron sends a mail message whenever a job is completed. What I would like to know is: Is there a way of including a subject for this cron mail message? The reason is that I have SEVERAL cron jobs running that get forwarded to my Microsoft Exchange server. When I read these cron mail messages, there is no subject to distinguish them. Alternate solutions are also welcome :-)) Warm regards Andre