• Post Reply Bookmark Topic Watch Topic
  • New Topic

reminder generation

 
krish bhadragiri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am working on a reporting project.i have a requirement of generating a reminder if a employee does not send his daily status to the reporting person by the end of that day.what should i do to generate reminder at particular time every day/week based on the report status(sent or not) in the database.shall i use servlet listener and timer incorporate timer in that.

regards,
krish
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an ORM question. Moving...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want to use for the reminder; email?
 
Preeti Arora
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can make a scheduled task on windows which run a batch file.In this batch file run a java program which connects to database and check for the flag whether report has been sent or not.If not then this program sent mail using java mail api to all people who has not sent report.
 
Chris Boldon
Ranch Hand
Posts: 190
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Quartz as suggested. I would not suggest using Windows scheduler as it would make it platform specific and would be outside to your application.
 
Amit Kumargupta
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a watchdog application in your project which automatically check the database in a week if report is not there then it send the notification to all person who has not send the report.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!