Results 1 to 1 of 1
- 03-21-2009, 09:16 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
Executing java program using windows scheduler
Hi,
I have developed a small tool in java that would read a MSACCESS database and based on the values would submit a job in Mainframe system through FTP. This is working perfectly fine when program is executed in command prompt. I want to run this program every 15 minutes using windows scheduler. So for that, i used "scheduled tasks" option in windows XP and have included my bat file there.
Bat file content:
C:\Program Files\Java\jdk1.5.0_12\bin\javaw -classpath C:\Program Files\Java\jdk1.5.0_12\bin\test3.class
Every 15 minutes this bat file is getting executed. I see one blank black screen appearing..and it disappears in a fraction of second.. But the FTP step is not working. Can someone tell me if there is any mistake in the bat file?
Similar Threads
-
Error message in executing a simple program from DOS window
By betelgeuse in forum New To JavaReplies: 6Last Post: 02-24-2009, 02:50 PM -
Executing an external java program
By arunsubramanian in forum Advanced JavaReplies: 5Last Post: 02-06-2009, 07:49 AM -
How can I make a program look and feel more windows-like?
By Exhonour in forum New To JavaReplies: 1Last Post: 01-16-2009, 10:15 PM -
help-executing the program
By j2vdk in forum New To JavaReplies: 6Last Post: 08-30-2008, 09:18 PM -
Executing a program within a program
By gibsonrocker800 in forum New To JavaReplies: 5Last Post: 05-12-2008, 08:24 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks