|
From: <And...@DM...> - 2003-08-28 08:58:09
|
Hi. Is it possible to delay the shutdown of the service? This is what I'm currently doing. I launch a service in 2000 that looks for new files in a directory every 5 minutes or so. The service class launches a java class which starts a java thread. The thread does the work of looking for files then sleeping etc. When I stop the service from the command line I want to be able to let the thread finish what it is doing before killing the service. Any ideas to how I can do this would be most appreciated. Thanks, Andy. |