run multiple java applications
Posted on 2006-10-31
I have to create a scheduled task in which i have to run 4 separate applications -
1. java -jar cleaner.exe --- cleans a file
2. sqlldr --to load clean data
3. java -jar regulator.exe ---- compares new data with old data
4. java -jar findposition.exe - finds position for each record.
I want these application to run one after other. So sqlldr should not run until cleaner has finished cleaning and so on...
Now if I create a single batch file to run all the above applications, will all of these run in a sequence?