in reply to Re^4: Perl script as windows service
in thread Perl script as windows service
is actually misleading, because the path and script are hard-coded. Hence, you can write it asparameters => ( sprintf '"e:/dia/temp/service.pl" --run', $scriptPath, + $script ),
The start_type tells the win32 service manager to automatically start-up the script. This means, no user must be logged in. This latter thing is actually one of the main reasons to use services on win32.parameters => '"e:/dia/temp/service.pl" --run'
|
|---|