Scheduling emails....
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vineet_Billorey
Posted On:   Tuesday, July 3, 2007 04:01 AM

Hi..


I have made a jsp which sends emails for birthday and marriage anniversary to various staff people taking their birthdates/anniversary dates from the database.
Now I want it to run automatically every morning at 9 am and send respective mails every day.
Do Java or Tomcat provide any task scheduler..?
Thanks in Advance....

Re: Scheduling emails....

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, July 3, 2007 08:51 AM

Technically speaking, no -- that's the job of the host operating system. Windows provides a control panel doodad (Task Scheduler?) to accomplish this, and UNIX derivatives have at / cron. Learn how yours works, then create an entry pointing it at a little program that requests the JSP page so it can do whatever it does.
About | Sitemap | Contact