
islanderman
Novice
May 5, 2014, 8:01 AM
Post #1 of 2
(86359 views)
|
DBD::ODBC runs manually, not via crontab
|
Can't Post
|
|
I installed DBD::ODBC and everything runs fine from a non-root account via command line, but just not via crontab. The module is located here: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/ODBC.pm I ran a crontab entry to capture the perl libraries from the account and I see the path : /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 Can someone help with what I'm missing, or help capturing what the error actually is? I am not even doing anything, like connecting to a DB. I just am running a bare bones perl script with the 'use DBD::ODBC' in it.
|