• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database lookup at a particular time?

 
Amit Tiwary
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am building an application which will pull out a report from the database at a fixed time in a day.Say at 8PM ,it will query the database and show the report or mail the report to the Admin.I am using JSP/SERVLETS/BEANS and MSACCESS?
Plz do this .
 
Juanjo Bazan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that you need a process running in the background...not JSP/Servlets.
So probably you should use a Thread to do the job and make the report accessible for the servlets.
Or maybe you can create the proper java classes and trigger the execution of them once a day with a OS daemon process, but then you are not OS independent...
 
Amit Tiwary
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Juanjo Bazan;
Is there no other method?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic