laziness, impatience, and hubris | |
PerlMonks |
Command line Persistent DBI connectionsby hakkr (Chaplain) |
on Dec 13, 2004 at 16:05 UTC ( [id://414421]=perlquestion: print w/replies, xml ) | Need Help?? |
hakkr has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Obviously if you are running scripts at command line via cron etc you cant use Apache::DBI as you are not in a mod_perl environment. So does this mean every time my cron runs I have to connect? Can I somehow grab a connection out of one of the Apache children? or is the only choice to run scripts as daemons with DBI connect_cached()
Back to
Seekers of Perl Wisdom
|
|