<snip>

> My Problem is, that my script starts the thread every 2 Minutes by the cron-module. 
> So I open at the moment every 2 Minutes a DBI-connection. This is not very nice for 
> the DB. 
> 
>>> If you are worried about the expense of connects to the database
every two minutes, then perhaps the Perl script should run independent
of the primary application.  If you need to synchronize with the CRON
then you can signal the Perl script to wake it up every two minutes or
use some other IPC mechanism such as pipes or sockets to do the same.

Best,

Steve


> 


Reply via email to