Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a program daily

 
Sunesh Kumar
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Friends,

May be i posted the Quuery in a wrong place,if sorry for that.

I am developing a application in that i have to send mails to my clients daily or weekly or monthly.As per the requrement.

For this i have a run a program daily which checks for the date column if it matches i have send mails.
FOr this i have to run a program daily how can i do this...

Waiting for your valuble suggestions

Bye
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be i posted the Quuery in a wrong place

The JSP forum sounds like the wrong place.

Under Windows : Task scheduler
Under Unix : cron

I don't know if the Task Scheduler is professional enough. Never used it.
 
ak pillai
author
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a few options:

in unix use: cron jobs
in windows: use a Scheduler


If you need a solution which will do both and want to use Java then

look at Timer and TimerTask API in Java.
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can think about Quartz scheduler
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic