Re: Running DBI, ODBC in the crontab

2006-04-14 Thread Dr.Ruud
Jeffrey Seger schreef: Dr.Ruud: JupiterHost.Net: Dr.Ruud: Jeffrey Seger: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])' Oi, why not much cleaner (code and output): perl -MData::Dumper -e'

Re: Running DBI, ODBC in the crontab

2006-04-14 Thread Jeffrey Seger
Ok, you're right. Let's stop now as we are not adding to anyone's knowledge of DBI or DBD::*. On 4/14/06, Dr.Ruud [EMAIL PROTECTED] wrote: Jeffrey Seger schreef: Dr.Ruud: JupiterHost.Net: Dr.Ruud: Jeffrey Seger: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl

Re: Running DBI, ODBC in the crontab

2006-04-14 Thread Dr.Ruud
Jeffrey Seger schreef: Ok, you're right. Let's stop now as we are not adding to anyone's knowledge of DBI or DBD::*. You keep messing up, so I'll see no more of you. here were 30+ lines that you should have cut -- Affijn, Ruud Gewoon is een tijger.

Re: Running DBI, ODBC in the crontab

2006-04-13 Thread JupiterHost.Net
Tim Bunce wrote: On Wed, Apr 12, 2006 at 04:33:39PM +0200, Dr.Ruud wrote: Jeffrey Seger schreef: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])' Oi, why not much cleaner (code and output): perl

Re: Running DBI, ODBC in the crontab

2006-04-13 Thread Dr.Ruud
JupiterHost.Net schreef: Dr.Ruud: Jeffrey Seger: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])' Oi, why not much cleaner (code and output): perl -MData::Dumper -e' print Dumper [EMAIL PROTECTED],

Re: Running DBI, ODBC in the crontab

2006-04-13 Thread Jeffrey Seger
I think we can probably end this thread now. If I hadn't been so tiredit was the middle of the night...I'd have just had him run perl -V to get his @INC arrary. Cleaner than any of this. On 4/13/06, Dr.Ruud [EMAIL PROTECTED] wrote: JupiterHost.Net schreef: Dr.Ruud: Jeffrey Seger:

RE: Running DBI, ODBC in the crontab

2006-04-12 Thread Kong, Alan
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 5:34 PM To: dbi-users@perl.org Cc: [EMAIL PROTECTED] Subject: Running DBI, ODBC in the crontab Hi, I am running a perl script, using DBI and ODBC (from DataDirect), on a linux box to connect to SQL server. It works fine if I

Re: Running DBI, ODBC in the crontab

2006-04-12 Thread Dr.Ruud
Jeffrey Seger schreef: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])' -- Affijn, Ruud Gewoon is een tijger.

Re: Running DBI, ODBC in the crontab

2006-04-12 Thread Tim Bunce
On Wed, Apr 12, 2006 at 04:33:39PM +0200, Dr.Ruud wrote: Jeffrey Seger schreef: perl -MData::Dumper -e' print Dumper @INC' Alternative: perl -MData::Dumper -e' print Data::Dumper-Dump([EMAIL PROTECTED], [qw(*INC)])' Alternative: perl -V Tim.

Running DBI, ODBC in the crontab

2006-04-11 Thread Stephen . Chung
Title: Running DBI, ODBC in the crontab Hi, I am running a perl script, using DBI and ODBC (from DataDirect), on a linux box to connect to SQL server. It works fine if I run it from a shell command line. However, if I put it into a crontab (the same user), I got the following error

Re: Running DBI, ODBC in the crontab

2006-04-11 Thread Jeffrey Seger
Run the following lines in both the command line and crontab: perl -MData::Dumper -e' print Dumper @INC' ~/inc.log env|sort ~/env.log The first will have output that looks something like this: perl -MData::Dumper -e' print Dumper @INC' $VAR1 = '/usr/lib/perl5/5.8.7/i586-linux-thread-multi';