in reply to Command line Persistent DBI connections
If for some reason you really want a persistant Perl environment for cron jobs, have a look at PPerl on CPAN. This way, you can keep a database connection (and other things you might want to cache).
But again, connecting every time seems okay. Since you are not using the connection in between cron runs, keeping it open just wastes resources on the DB server.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Command line Persistent DBI connections
by hakkr (Chaplain) on Dec 14, 2004 at 10:41 UTC | |
by Thilosophy (Curate) on Dec 15, 2004 at 05:05 UTC | |
by hakkr (Chaplain) on Dec 17, 2004 at 10:08 UTC |