I have seven Java programs that need to run automatically. I've created a batch file which will run each program. Each program produces a output file which executes the next Java program. I'm having a hard time creating it in perl.
First:
Execute first Java program
Loop:
Searching for output file
Sleeps ((for one min))
Output file created
goto second
Second:
Execute second Java program
Loop:
Searching for output file
Sleeps ((for one min))
Output file created
goto third ((Exc.
Basically what's happening is:
Execute first program, then process through the loop until the output file is created. Once the output file is created, process second Java program. Then process through second loop untill the output file is created. The same process is used all the way through the seventh program.
If someone can help, it would be much appreciated.
First:
Execute first Java program
Loop:
Searching for output file
Sleeps ((for one min))
Output file created
goto second
Second:
Execute second Java program
Loop:
Searching for output file
Sleeps ((for one min))
Output file created
goto third ((Exc.
Basically what's happening is:
Execute first program, then process through the loop until the output file is created. Once the output file is created, process second Java program. Then process through second loop untill the output file is created. The same process is used all the way through the seventh program.
If someone can help, it would be much appreciated.