On 29/lug/2012, at 22:32, Ray Kiddy <[email protected]> wrote: > > On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote: > >> You may also just create a simple Thread (runnable) >> >> Amedeo >> >> > > I have done the "just create a thread" method for something and it worked. > But we had the application scheduled in JavaMonitor to stop and re-start > itself once a day and putting out that thread prevented that from happening. > I had not set it up to listen for the notification or yada yada yada. > > I presume that the COScheduler stuff does not have this problem. We will see. > > - ray
yes, you should catch the "ApplicationWillTerminateNotification" and "stop/destroy" the thread Amedeo > > >> On 29/lug/2012, at 18:04, Pascal Robert <[email protected]> wrote: >> >>> Have a look at ERQuartzScheduler and the recording from WOWODC 2011 >>> (http://www.wocommunity.org/podcasts/wowodc/2011/COScheduler.mov) for >>> COScheduler (COScheduler was the name of the project before it was donated >>> to Wonder). >>> >>>> Dear all, >>>> >>>> I am currently implementing a REST task in WO that fetches content from a >>>> remote server. I just have a little routine running in "Application" on a >>>> scheduler. >>>> I was just wondering if there was a better way of running periodic tasks >>>> in wonder, and any advise from those who had similar experience with REST >>>> service. >>>> >>>> Thanks for your support, >>>> >>>> Sisi >>>> _______________________________________________ > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/amedeomantica%40me.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
