in reply to Re^2: perlscv help required.
in thread perlscv help required.
if you use while(1), it would never stop (net stop servicename).sub PerlSvc::Startup(){ while (ContinueRun(1)) { print "I'm a service and I'm running\n"; # do prog .......... print STDERR "And I also output errors\n"; } #--------------------------------------------------------------------- +--- # clean up code for stopping service #----------------------------------------------------------------- +------- print "Thank you and goodnight\n" }
Can't Stop my PerlSvc, Problem Stopping Service using Active State Perlsvc, Service monitor with Perl and PerlSvc, PerlSvc Ends With Error 1067, http://docs.activestate.com/pdk/7.3/Example.html,
|
|---|