users@glassfish.java.net

Scheduled task

From: Dru Devore <ddevore_at_duckhouse.us>
Date: Fri, 29 Feb 2008 10:07:02 -0700
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