Re: How do I run a Perl script as a Windows XP Service?
- From: Thomas Kratz <ThomasKratz@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 11:38:27 +0200
janicehwang1325@xxxxxxxxx wrote:
Hi all,
I would like to run my Perl script as the service in Windows XP. How do
achieve that? I heard that using Microsoft Management Console can
achieve that. However, read thru the help file of the MMC, i still do
not get how to create it. Do someone know how to start from the very
beginning step?
I don't know what is meant by the answer given under:
http://tinyurl.com/rd6vy
I have no idea how to create a service from a script with MMC.
You may have better success with either googling for 'srvany.exe' from M$ or better IMHO using the module Win32::Daemon to create a native service.
Have a look at Win32::Daemon::Simple. It sits on top of Win32::Daemon to make the process much easier for you.
Thomas
--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*\043),,mg,@_=map{[split'']}split;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),\$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.-
.
- References:
- How do I run a Perl script as a Windows XP Service?
- From: janicehwang1325@xxxxxxxxx
- How do I run a Perl script as a Windows XP Service?
- Prev by Date: BEGIN <> BEGIN
- Next by Date: Re: Changing the inherited STDOUT
- Previous by thread: How do I run a Perl script as a Windows XP Service?
- Next by thread: Re: How do I run a Perl script as a Windows XP Service?
- Index(es):
Relevant Pages
|