How to schedule a task using Java
Posted on 2008-06-25
I have an application that gets inputs from some input files stored in a location and updates the DB. Now, I want to make this job using scheduler.
The important thing here is the schedule should be modifiable by an admin and the task must run at the scheduled time.
The application already existing is developed using Struts. The scheduler program should be a plug-in and should not affect other part of the application.
Can anyone please provide some code snippets and tell me how to do this.
Arjuna Rajan Rameshbabu