I have a script runs a while() loop and sleeps for 4 seconds between iterations. This script reads files from a directory that is continuously fed small text files, which the script reads in, parses out (the data is weather observations), then databases in an Oracle 8i database.
Unfortunately, after about four hours (this length of time can vary dramatically) the script simply stops. Most of the time I can cntrl+break out of the loop and restart the script, but some times I have to kill the command shell (it is running on a Windows2K Pro PIII 700+ MHz machine) to restart.
I saw the thread by Kathy1 and re-installed ActiveState 5.6.1 but the problem persists. Are there any other 'tricks of the trade' to keep this type of application running?
Unfortunately, after about four hours (this length of time can vary dramatically) the script simply stops. Most of the time I can cntrl+break out of the loop and restart the script, but some times I have to kill the command shell (it is running on a Windows2K Pro PIII 700+ MHz machine) to restart.
I saw the thread by Kathy1 and re-installed ActiveState 5.6.1 but the problem persists. Are there any other 'tricks of the trade' to keep this type of application running?