File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes question on  schedule  task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question on  schedule  task" Watch "question on  schedule  task" New topic
Author

question on schedule task

alfred jones
Ranch Hand

Joined: Apr 19, 2005
Posts: 279
public void schedule(TimerTask task,long delay,long period)

i have confusion over these input params delay,period. not able to understand from the doc.

delay means ? after how much time the program will start execute ? am i right ?

period means ? if the period is 10 secs , say it will kill the running process and start over again from the begining ? am i right ?
 
 
subject: question on schedule task
 
Similar Threads
Thread-Killing.
Web Page to Excel Sheet
scheduled java Timer job
Can timer Update swing Widgets , or some tips needed.
Thread-based timer versus Timer Class-based timer