File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Task Scheduler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Task Scheduler" Watch "Task Scheduler" New topic
Author

Task Scheduler

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
I have a javaprogram,which should run
for every 1 hour.I have added the class
file in Windows Task Scheduler , but the
program failed to start.How can i make the
program run for every 1 hour???
Thanks!
[This message has been edited by avn (edited July 26, 2000).]
muhammad Siddiqui
Greenhorn

Joined: Jul 26, 2000
Posts: 2
Originally posted by avn:
[B]Hi,
I have a javaprogram,which should run
for every 1 hour.I have added the class
file in Windows Task Scheduler , but the
program failed to start.How can i make the
program run for every 1 hour???
Thanks!
Try running your class from DOS BAT file. Skedule task for BAT file, and in BAT file do coding to run specific class.
HTH

------------------
BeenGrinder


BeenGrinder
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Task Scheduler
 
Similar Threads
running a method by it's string name
Execute Java program only if it is not currently running
Timer Schedule
Scheduling multiple tasks dynamically
Chron jobs?