tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Andre Thompson <AThompson () ADMIN ! UWI ! TT>
To: tru64-unix-managers
Subject: SUMMARY: Subject for cron
Date: Tue, 12 Jun 2001 15:35:00 +0000	[thread overview]
Message-ID: <102653649621790.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-06-12 15:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox