<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Nov 2014 09:40:00 Z</lastBuildDate><pubDate>6 Nov 2014 11:10:00 Z</pubDate><description>Hi,&#13;
&#13;
I have a service running to perform background tasks on a server. Like sending a batch of emails.&#13;
I'm wondering how a WD service responds on a service-stop, let say when the server is going to reboot.&#13;
This task can run for say a minute or so, processing hundred emails.&#13;
&#13;
Suppose my email-task is running at that very moment. Would the service just "kill" the mail-task? Or wait for it to finish?&#13;
Or do I have to check every loop for some kind of "service will stop" signal?&#13;
Or should I take shorten the loop to lets say max 10 seconds or so?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop/read.awp</link><title>WD19 - service stop</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48826/read.awp</comments><pubDate>7 Nov 2014 09:40:00 Z</pubDate><description>Thanks Malc, looks pretty straight forward</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48826/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48826/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop/read.awp">WD19 - service stop</source><title>Re: WD19 - service stop</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48824/read.awp</comments><pubDate>6 Nov 2014 18:21:00 Z</pubDate><description>Hi Arie&#13;
Quote&#13;
Arie Mars&#13;
&#13;
Hi,&#13;
&#13;
&#13;
&#13;
I have a service running to perform background tasks on a server. Like sending a batch o…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48824/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop-48824/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48814-wd19-service-stop/read.awp">WD19 - service stop</source><title>Re: WD19 - service stop</title></item></channel></rss>
