in reply to Re: Re: Re: Cron Jobs and mod_perl...
in thread Cron Jobs and mod_perl...

The point was, since I was using Apache::DBI, I lazily coded the DB methods - ie, connected and disconnected from the DB each time a DB call was made in the script, since I knew Apache::DBI would ignore that and keep the connection open.

And since some of the cron strips would be running hundreds of DB querires, I wanted to keep that system in place for it, rather than rewriting the module to work well outside of mod_perl...

.02

cLive ;-)