: Is there a way to put subject headers in the mail messages
: that crontab sends? That would be really helpful. We
: get a dozen messages every day, and it's tedious to check
: for missing ones on all the machines.
Not directly. But what you _can_ do is write a wrapper script for
all of your cron jobs that does this for you. At our site, we have
a wrapper called "cron.wrapper" (descriptive, isn't it?) that does
this, via the following arguments:
cron.wrapper command mail_subject userlist ...
We then put this entry in cron for each job, and the wrapper executes
"command", and if there's output, it sends mail to "userlist" with a
subject of "subject" which describes the job so you can quickly scan
the output.
Cheers,
-+JLS
--
\
http://www.aracnet.com/~seagull \