File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a program daily

 
Sunesh Kumar
Ranch Hand
Posts: 89
  • 0
  • 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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can think about Quartz scheduler
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic