Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Re: Using Exit routine windows-perl
From:
Nathan Brindle <[log in to unmask]>
Reply To:
LISTSERV site administrators' forum <[log in to unmask]>
Date:
Wed, 28 Apr 2004 09:30:11 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
(Please respond to the list, not to me directly.)

At 09:56 AM 4/28/2004 -0400, George Rakauskas wrote:
>To site.cfg I added
>
>LIST_EXITS = EXIT-NOCHANGE
>
>to the list, I added
>EXIT= EXIT-NOCHANGE

OK, then I assume you placed an EXIT-NOCHANGE.CMD file in \LISTSERV\MAIN
that actually calls the perl script?

The easiest way to debug what is happening is to run your tests with
LISTSERV running in interactive mode rather than as a service.  That way
you can see what happens when LISTSERV calls EXIT-NOCHANGE.CMD (standard
output does not get echoed to LISTSERV's log but when running in
interactive mode you can see anything that the script echoes to the console).

Alternately you could add rudimentary logging by simply redirecting command
output from EXIT-NOEXCHANGE.CMD to a text file.  I have done this sort of
thing in the past (with a REXXette, but it's going to be similar with a
perl script):

echo -------- >> log.file
time /t >> log.file
echo "exit called" >> log.file
type exit.input >> log.file
c:\util\rexx.exe c:\listserv\main\xyz.rexx
type exit.output >> log.file

I am not a perl guru so I do not really know how straightforward it is
going to be to port a unix perl script to Windows.  That may also be
causing part of the difficulty.

Nathan

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV