How to run a service at a specific time using JSP/Servlets app?

Posted by BugKiller on Stack Overflow See other posts from Stack Overflow or by BugKiller
Published on 2010-06-08T21:58:36Z Indexed on 2010/06/08 22:32 UTC
Read the original article Hit count: 148

Filed under:
|
|

Hi, I'm developing JSP/Servlets App,and I want to execute a service at a specific time , for example :

For each day at 10:00 AM , delete any attachment from the "attachment" table in the database where column X== NULL.

How can I do this in JSP/Servlets application ? I use Glassfish as a server .

© Stack Overflow or respective owner

Related posts about java

Related posts about servlets