Honestly I'm stuck. If I kill the process after it does it's job, I'm thinking that there is no residual from the previous program. When I do a ps -A there is only 1 program left to kill after it finishes processing. I kill this process and run my script. Whenever the 2nd run occurs, it acts as if processing is taking place when it really isn't. I know this because all the files are left in the database instead of being cleared out. The only thing I can think of is that for some reason the variables on the 2nd run are not being passed. When I get to work tomorrow, I will put in print statements to see if this is indeed the case. Why it would work the first time through and not the next time through (after being killed) has got me stumped. Any ideals?
Jessee -----Original Message----- From: david [mailto:dzhuo@;looksmart.net] Sent: Thursday, November 07, 2002 5:26 PM To: [EMAIL PROTECTED] Subject: Re: Strange behaviour Jessee Parker wrote: > I am currently running this on Redhat Linux version 7.3 and using Perl > version 5.8.0. I've tried different things - let the process run and > process multiple batches of files and I have killed it with kill -9 > command on the pid and then restarted the program. First run is always > good - it sends out the information correctly. Second run it prints to the > screen that it is in the send portion of the program and is looping > correctly but in fact, no data is sent out and the data is not deleted > from the mysql database. I'll take a look at the link and try removing the > SIG{CHLD} to see if that is of any help. > > Jessee to be honest, your problem seems like a totally different one. i will give your script another visit. do you have any idea of where your problem might be? just so that i don't have to read your whole script... :-) david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]