• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send Mail at perticular time(By capturing database trigger)

 
Sanjay pts
Ranch Hand
Posts: 357
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
All
Im using database as Oracle. Now i have written servlets (Mail Servlet)which used to send mail on user events(It means when user clicks send mail button).
Now i want to run this programme automatically at perticular time. So how can i achieve this.I think we will have to use data base trigger in this case. Can anybody guide me in this case.
Thanx
sanjay
 
manoj bagul
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
You can either set a batch job or set a cron job depending on the Platfrom u r using and execute that job at particular time.
Manoj.
 
Sanjay pts
Ranch Hand
Posts: 357
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Manoj
If you can tell me in detail then things will be good for me.
Thanx
sanjay
 
VS Prapoorna
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I know a little about how to schedule tasks in windows platform.
what you need to do is
1. go to MyComputer then
2. click on the 'ScheduleTask' program.
That program wizard will help u in scheduling ur tasks.
one more thing is if u want to invoke ur jsp page in a particular time then
do the coding in that jsp page and then call the jsp page in a html page in <body onload=""> method.
And then in schedule task wizard call give the html page path.
i think i am clear in my point.
regards,
Sarada Prapoorna.V
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic