| Author |
windows task schedular programming
|
Shankar Arumugam
Greenhorn
Joined: Oct 05, 2005
Posts: 14
|
|
Hi, I want to use the Windows Task Sheduler to run a method every 1 hour. I am new to java programming world.So help me out to schedule it using the task scheduler.If possible give me some sample code also.
|
 |
Pratap koritala
Ranch Hand
Joined: Sep 27, 2006
Posts: 251
|
|
You can do that with timers... But,that logic can be simply implemented like Spawn a thread , call the method depending upon your condition( simply infinite times)
|
 |
Kumar Naveen
Greenhorn
Joined: Jul 07, 2008
Posts: 1
|
|
Hi if you want to run the task for every one hour in windows,do like this START---->SETTINGS------>CONTROLPANEL in that control pannel we have a folder like scedular task click on that folder and the addschedular task and click on next button follow the steps from there i think i gave some what answer
|
 |
Nitesh Kant
Bartender
Joined: Feb 25, 2007
Posts: 1638
|
|
If you want to create a windows service programatically then Java service wrapper will come to your help. This is a nice article on using Java service wrapper.
|
apigee, a better way to API!
|
 |
Pratap koritala
Ranch Hand
Joined: Sep 27, 2006
Posts: 251
|
|
Be Clear When you asking Question. I think it is Windows Task Scheduler starting a Application rather than method. Anyway,Java is not suited when you writing windows services and calling lots of Win32 API or any native calls. [ July 16, 2008: Message edited by: Pratap koritala ]
|
 |
 |
|
|
subject: windows task schedular programming
|
|
|