*
The moose likes Java in General and the fly likes Working with Scheduled Tasks in Java for Windows XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Working with Scheduled Tasks in Java for Windows XP" Watch "Working with Scheduled Tasks in Java for Windows XP" New topic
Author

Working with Scheduled Tasks in Java for Windows XP

Avinash Haridasu
Ranch Hand

Joined: Jul 12, 2011
Posts: 31
Hi All

I have a requirement to get the list of all the Scheduled Tasks (Windows XP), their last executed time, executed status, next run time ..etc

Could you please suggest me any api .. or any comments on how may i proceed with this.

Thank you.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Use JNI in combination with the API found at http://msdn.microsoft.com/en-us/library/windows/desktop/aa383608(v=vs.85).aspx. Alternatively, use ProcessBuilder to call schtasks.exe.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working with Scheduled Tasks in Java for Windows XP
 
Similar Threads
scheduling java program
Test first , then Analyse
schedule a task
Web services, need help on 2 things
How to start Galssfish when Computer start