You could write a very similar script in Perl or VB. Do you have either of
these installed on your W2K server? If so, I'd be glad to help.
Christopher Adkisson
-----Original Message-----
From: Bill Flinders [mailto:FlindersB AT COMCAREHEALTH DOT CA]
Sent: Wednesday, November 27, 2002 4:40 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Including the group name in the subject
'savegrou p completion' e-mails
Is there a way that this can be done in Win2k Environment?
Thanks Bill.
Bill Flinders
Senior Systems Analyst/Developer
Comcare Health Services
Ph: (519) 963-3647
flindersb AT comcarehealth DOT ca
-----Original Message-----
From: Adkisson, Christopher [mailto:CAdkisson AT BBANDT DOT COM]
Sent: Wednesday, November 27, 2002 3:05 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Including the group name in the subject
'savegrou p completion' e-mails
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|