Help for this page

Select Code to Download


  1. or download this
    foreach my $md (@chk_mds) {    #@chk_mds is a list of the unique ident
    +ifiers (I.e SrvA, SrvB, SrvC etc)
        #Read What Kind of Process to Start.
    ...
        close(LOG);
        return(1);
    }
    
  2. or download this
    foreach my $pid (keys %proclst) {
        Win32::Process::KillProcess($proclst{$pid}, 255);
        &Update_Log("Service Stopping - Stopping $proclst{$pid}");
    }
    undef %proclst;