Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send mail through Sheduling

 
Rajesh s.kollam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have in a problem that in my web application i have to mail to user(any one) on each two days using jsp with out userinvocation.ie there is no events are triggered...send mail automatically..
Pls Help me....
Regards,
Rajesh.s
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a CRON job. Why would you need to do this through a JSP or a portal?

-Cameron McKenzie
 
Ayub ali khan
Ranch Hand
Posts: 395
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajesh,

As Cameron mentioned, you do not need a jsp for sending e-mail automatically. This is can be achieved using the scheduler. Check the following links for more information on how to schedule jobs.

Java Timer

EJB Timer

--Ayub
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic