> 
> I have a script which I imagine will loop every 15 to 60 seconds.
> 
> Should I make the database connection at the beginning of the script,
> and just keep reusing it, or would it be more prudent to remake the
> connection in the body of the loop?
> 

I have a similar situation and have the same question. are you running the
script as a daemon or just using 'while {..} sleep' sort of thing?

Reply via email to