From: jenny w Date: 2008-06-03T11:42:49+09:00 Subject: Re: Totally stumped ------=_Part_9025_4540375.1212461010693 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Jun 2, 2008 at 6:10 PM, James Britt wrote: > > What user is the cron task? What permissions? > Same user is running cron. That's what makes this so perplexing. If I run the job as that user from the command-line it works; if I run it through cron as the same user, it doesn't. I get: DBI::DatabaseError (IM002 (0) [unixODBC][Driver Manager]Data source name not found, and no default driver specified): /usr/local/lib/site_ruby/1.8/DBD/ODBC/ODBC.rb:96:in `connect' /usr/local/lib/site_ruby/1.8/dbi/dbi.rb:584:in `connect' /usr/local/lib/site_ruby/1.8/dbi/dbi.rb:384:in `connect' Thanks! ------=_Part_9025_4540375.1212461010693--