Have you tried using perl.exe as the program and the script as an argument?
I bet the script can't find the perl interpreter.

The fields would be as follows:
Display Name:     My Script
Program File name : perl.exe
Working path:       c:\perl\bin\
Arguments:          c:\whatsup\myperlscript.pl

Is your 1st line
#!perl
or
#!c:\perl\bin\perl.exe

And last but not least, 
Is your perl path in your Path statement for your OS?




Regards,
Mike Krygeris
Somix Technologies, INC 
Mikek at somix.com
207-324-8805 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 2:01 PM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Run a Perl script from Program in Notification
Library





I have created a Perl script that I want WUG to run when I get an alarm. I
have set the script up to run from the "Program" option in the
"Notification Library" under the "Configuration" menu, but it fails. If I
point to a batch file it seems to execute the .bat OK. I just doesn't like
a Perl script for some reason. I can execute the perl script by simply
double clicking it in Windows Explorer, so it is executable.

Any ideas on how to WUG to execute something from Perl?

Thanks,

Scott Johnson
The Regence Group


============================================================================
==
IMPORTANT NOTICE: This communication, including any attachment, contains
information that may be confidential or privileged, and is intended solely
for the entity or individual to whom it is addressed.  If you are not the
intended recipient, you should delete this message and are hereby notified
that any disclosure, copying, or distribution of this message is strictly
prohibited.  Nothing in this email, including any attachment, is intended to
be a legally binding signature.
============================================================================
==


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
---
[This E-mail scanned for viruses by Declude Virus]




---
[This E-mail scanned for viruses by Declude Virus]


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to