Change the notification to call a script called whatever.sh
Script:
#!/bin/ksh
cat $* >> $yourpath/savegrp_completion
group=`head -1 $yourpath/savegrp_completion |grep -v -i media |awk '{
print$4 }'`>/dev/null
#sendmail
/usr/bin/mailx -r your AT email DOT com -s "Networker: $group"
anotheremail AT email DOT com < $yourpath/savegrp_completion
Christopher Adkisson
BB&T IT Operations
Backup & Recovery
252-230-0216 - Cell
252.246.3601 - Office
252.246.3294 - Fax
cadkisson AT bbandt DOT com
Mailcode - 100-99-09-10
-----Original Message-----
From: David E. Nelson [mailto:david.nelson AT NI DOT COM]
Sent: Wednesday, November 27, 2002 2:20 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Including the group name in the subject
'savegroup completion' e-mails
Hi All,
Is there any way to expand the group name in the subject line of the
'savegroup
completion' e-mails?
Something like:
/usr/ucb/mail -s "devnull's savegroup completion for %SAVEGRP%" nic-backups
Or similar? Kinda like the Unix mailcap functionality.
BTW, this is NW 6.1.1 on Solaris 8.
Thanks,
/\/elson
--
~~ ** ~~ If you didn't learn anything when you broke it the 1st ~~ ** ~~
time, then break it again.
--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|