in reply to Win32::Daemon Experience offered/requested
# Evaluate STATE if( SERVICE_RUNNING == $State ) { $Context->{count}++; Log( "Running!!! Count=$Context->{count}. Timer:".Win32::Daemon::Cal +lbackTimer() ); my $x = 1; while( $State != SERVICE_STOP_PENDING && $State != SERVICE_STOPPED ) + { Log($x); $x++; sleep 2; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::Daemon Experience offered/requested
by dolmen (Beadle) on Sep 24, 2009 at 08:18 UTC | |
by zoom (Initiate) on Oct 08, 2009 at 22:36 UTC |