Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Windows Services Using Perl Script

Status
Not open for further replies.

Milleniumlegend

IS-IT--Management
Dec 16, 2003
135
Could someone give me some code snippets into creating Services using Perl. I would like to run a perl script as a windows service.

I have a perl Script that runs on the local server. The perl Script gets a file and based on the name of the file it sends it to the local folder. What I wanted to do is send the file to a directory that we have mapped to a different server. The perl script does the processing of the logic and places the files in the right directory for us. However the problem is I am not able to send the across to the different server.

If I log on using my username and password and run the Similar script to copy files to a mapped network drive for a different server the files do show up on the server.

I was looking at a creating this script to run as a service so that we can authenticate the script.

Regards
Arun
 
Paul

I looked at that site and it has good scripts to implement those but I guess they are using Activestate CPAN Windows::Daemon Module to create services on the Server but I was looking more at using ccperl.exe and do something similar. If that is an option. Otherwise we may have to create another C++ Application to create services on the Server.

Regards
Arun
 
Arun,

What do you mean by a service, an executable?

--Paul

cigless ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top