Perl Script Monitoring on Windows

Perl Script Monitoring on Windows

Hi,

I am having a perl script a simple one which gets the data (sp_who) from a database and sends the count to an output file

The script works fine when I run manually. The scripts are located locally on the app manager server which is running on a windows box 64bit

Now i am trying to run this script through script monitoring and the options are local server and the script path
c:\perlscripts\new.bat (new.bat internally calls c:\perl\bin\perl.exe dbconnect.pl)
execution dir c:\perlscripts
Output settings is outfile file : c:\perlscripts\output.txt
string attributes : COUNT
Delimiter =

The script is not getting invoked or rather the perl is not getting run
if the change the .bat file to simple
echo COUNT=30 > c:\perlscripts\output.txt
This works

Can you please let me know how can i invoke perl scripts on local server which is a windows server

Thanks



















                New to ADSelfService Plus?