Re: JavaMonitor to start a blocking application?
Re: JavaMonitor to start a blocking application?
- Subject: Re: JavaMonitor to start a blocking application?
- From: John Pollard <email@hidden>
- Date: Tue, 09 Oct 2018 15:34:49 +0100
Thanks all for replies.
Giles Palmer also recommended ScheduledExecutorService directly so I have good
options to look at.
I realise I don’t need to use JavaMonitor, but it keeps things managed in one
place.
Thanks
John
> On 9 Oct 2018, at 15:26, Klaus Berkling <email@hidden> wrote:
>
> Yes. Wonder has Quartz. Works nicely handling monthly billing and user
> reminder emails.
>
> Sent from my phone.
>
>> On Oct 9, 2018, at 06:35, Paul Yu <email@hidden> wrote:
>>
>> John
>>
>> Have you looked are Quartz? I don’t remember if Wonder has that framework
>> or not.
>>
>> Paul
>>
>>> On Oct 9, 2018, at 6:41 AM, John Pollard <email@hidden> wrote:
>>>
>>> Hello WOers,
>>> I use JavaMonitor for a number of web apps just fine.
>>> I have another app that is a WO app but it isn’t an event driven web app;
>>> when it runs is just gets on with a never ending task.
>>> Is there an easy way to use JavaMonitor to just start this when the machine
>>> first boots up, but not try to check it is still alive (no heartbeats)?
>>> This would be a bit easier than using cron for me.
>>> I suppose ideally I would like the app to be responsive to JavaMonitor so
>>> it can be shown to be alive / be killed & restarted, whilst also doing its
>>> never ending task. Is it possible to do this with a background thread in my
>>> ERXApplication class or will that now work nicely with EOF etc.
>>> Thanks
>>> John
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden