Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl won't run as NT service

by trs80 (Priest)
on Feb 01, 2002 at 04:45 UTC ( [id://142603]=note: print w/replies, xml ) Need Help??


in reply to Perl won't run as NT service

It could be that the script is relying on files that are in the @INC path when run from the command line and not when it is run by a service. In other words are there module or configuration files that the scripts need to run that aren't in the path for the service.
If this is the case there are at least two options.
1) add a use lib "/path/to/modules" in the script
2) move the script and dependent files into a path in the @INC for the service.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://142603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found