users@glassfish.java.net

RE: Scheduled task

From: Dru Devore <ddevore_at_duckhouse.us>
Date: Fri, 29 Feb 2008 12:37:30 -0700
Yes, I have looked at quartz. We decided that it was just too much. I need something that runs every 60 seconds. There is only task that needs to run and no other tasks that need scheduling.



---
Dru Devore


-------- Original Message --------
Subject: Re: Scheduled task
From: Alexander Wallace <aw@siiesa.com.mx>
Date: Fri, February 29, 2008 12:45 pm
To: users@glassfish.dev.java.net

Have you looked at Quartz? https://quartz.dev.java.net/

On Feb 29, 2008, at 11:22 AM, Markus KARG wrote:

> I expect with "task" you mean "running an EJB"? Then I would
> propose a message driven bean that uses EJB Timer API, or a
> resource adapter.
>
> Dru Devore schrieb:
>> I am in the need of having a scheduled task in my server, I would
>> say daemon but not sure if that would give the right impression.
>> Basically I need to have a task that will start up every X minutes
>> and run. I did this once many years ago with a servlet and
>> threads, I think that is how I did it though it was many years ago
>> so I am not positive that is 100% correct.
>>
>> What is the best way to have a task kicked off every X minutes
>> with only one instance running at a time for the life of a cluster?
>>
>>
>> ---
>> Dru Devore
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
> --
> http://www.xing.com/go/invita/58469
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net