loosecannon1
Programmer
Brief sequence of events:
I have a perl script on server1 that executes a perl script on server2, perl script on server2 does some processing and writes out an xml file. Perl script on server1 then ftp's the xml file to a local dir and parse's the xml file and loads a combobox on a form.
Problem:
One process starts, then before it finishes another process starts, therefore creating errors. For example, before the script on server2 has time to build the xml file, the script on server1 is trying to ftp it.
Question:
How can I possible know when process1 is done so I can tell process2 to start?
PS:
All processes are successful when exe seperatly.
I have a perl script on server1 that executes a perl script on server2, perl script on server2 does some processing and writes out an xml file. Perl script on server1 then ftp's the xml file to a local dir and parse's the xml file and loads a combobox on a form.
Problem:
One process starts, then before it finishes another process starts, therefore creating errors. For example, before the script on server2 has time to build the xml file, the script on server1 is trying to ftp it.
Question:
How can I possible know when process1 is done so I can tell process2 to start?
PS:
All processes are successful when exe seperatly.