Hi ! I'm working on schedulers. My problem is I have a list of dynamically generated reports.For every report that is generated , a corresponding scheduler must run periodically say , every day at certain time. The time at which the scheduler must run will be inputted by the user for each report.
I was able to run the scheduler perfectly if there was just one report. But whenever I have more than 1 report , I'm unable to handle.
Please suggest any idea or solution for this.
My scheduler will start when my application server is started. I'm using a class that extends TimerTask class.
This is not really a Struts question. You may need one report generator task that runs every so often (maybe every 5 minutes, or 30 minutes depending on the needed granularity). This generator would poll the database to see if there were any reports to generate and if so would generate them. Some app servers have built in scheduling features. Quartz is a popular open source job scheduler (www.opensymphony.com/quartz/).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com