This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes Scheduling a Task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Scheduling a Task" Watch "Scheduling a Task" New topic
Author

Scheduling a Task

Rajesh Rajaram
Ranch Hand

Joined: Aug 20, 2002
Posts: 63
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


Rajesh Rajaram
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41633
    
  55
Theree's no need for a 3rd-party API. The java.util.Timer and java.util.TimerTask classes can do this.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Scheduling a Task