in reply to Re: PerlSvc Ends With Error 1067
in thread PerlSvc Ends With Error 1067
Just a very high level idea of how you might pull this off... Its very pseudo code and it could be horrible.. but hopefully its on the right trackmy $active_children = 1; while(1) { if($SERVICE_STATE eq "SHUTTING_DOWN") { if($active_children) { requestMoreTime(x); ShutDownChildren(\$active_children); } last if !$active_children; } sleep(x); }
|
|---|