[Win32utils-devel] Problem with starting service with win32-service
sean.karlage at uky.edu
Wed Aug 7 02:01:01 UTC 2013
The service is not in an abnormal state though. Following Daniel's example
from his github, after all main processing is done, I call sleep for some
amount of time. While that sleep is in effect, the process cannot be
On Tue, Aug 6, 2013 at 6:37 PM, Heesob Park <phasis at gmail.com> wrote:
> 2013/8/7 Sean Karlage <sean.karlage at uky.edu>:
> > One additional question: what is the best way to stop an already running
> > service if it's not in the processing phase? For example, I'd like to run
> > this script once daily. The processing doesn't take hardly any time at
> > so the rest of the time the process is asleep. However, if I try to run
> > Service.stop() on my code, it hangs (ostensibly because it's waiting for
> > service to wake back up again).
> I think the simple way to stop a service which is in an abnormal state
> is just kill process through Windows Task Manager.
> Park Heesob
> win32utils-devel mailing list
> win32utils-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the win32utils-devel