Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scheduling a Task

 
Rajesh Rajaram
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am scheduling a task on a Java program that has to be run once in day (EOD).

Is there any open source api allows to do this.

please let me know.


Thanks

Rajesh Rajaram
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Theree's no need for a 3rd-party API. The java.util.Timer and java.util.TimerTask classes can do this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic