Executing java program using windows scheduler
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?