Re: [Networker] Windows Networker Notification and Perl
2004-09-22 17:27:16
Maybe because test.pl does not exist ? that is where networker expects it to
be.
You should specify the full path of your script.
Bye
Ernie
----- Original Message -----
From: "Yen, Adam" <yen AT STARGEN DOT COM>
To: <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>
Sent: Wednesday, September 22, 2004 4:35 PM
Subject: Re: [Networker] Windows Networker Notification and Perl
In Legato Networker server gui->Notifications->Savegroup->Action field
I have
e:\perl\bin\perl.exe -w test.pl. I also tried test.pl alone and no go.
The email program Blat works fine though.
-Adam
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Adam Yen
Sent: Wednesday, September 22, 2004 10:05 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Windows Networker Notification and Perl
I'm trying use Activestate Perl 5.8.x with Legato Networker 7.1.1 on
Windows for notifications. My perl test scripts are not taking in
standard input <STDIN>. See example below. However the scripts do work
in command prompt. I already read previous postings by people who had
similar problems but no solution was given. Anyone out there have any
ideas? Thanks.
-Adam
ps.-i also tried John Stoffel's nss.pl script and that didn't work
either.
I contacted him and he has no experience with Windows legato
notifications with perl.
Example1:
#!e:/perl/bin/perl.exe
open (LEGATO, "-");
@INPUT = <LEGATO>;
close(LEGATO);
open (OUT, ">>e:/temp/legato.txt");
foreach $rawline (@INPUT) {
print OUT $rawline;
}
close (OUT);
--
Note: To sign off this list, send a "signoff networker" 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 networker" 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 networker" 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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|