|
Something i can add to!!
I currently have a small project where I have the following.
1 Central kix script 2 Data collection scripts. 3 Report scripts
Of the 2 data collection scripts, 1 is being ran 3 times. this gives me a total of 4 data collection scripts running. All 4 scripts are using the reg as a database to store information and this has been working with out a hitch for months now.
a couple of things that I had to work out to control these child process...
1. brand each child script with a process number at startup. the child script will look for this process number that the main script put in a reg setting. If the number is not found don't run the script.
2. Makes each child script pay attention to a status flag controlled by the main script. if the main script is shut down (controlled shutdown), it will issue a shutdown status to the child scripts.
Bryce
|