freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James K. Lowden <jklowden AT speakeasy.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Cc: ludovict AT megadyne.fr
- Subject: Re: Crontab + DB-Library : Login Incorrect
- Date: Thu, 11 Jul 2002 19:25:59 -0400
On Thu, 11 Jul 2002 19:02:24 -0400, "LUDO" <ludovict AT megadyne.fr> wrote:
> (I'm French, my English is not very very boog ;-)
Welcome.
> I have a problem with an execution of a PHP script on my web server
> (Linux Suse).
> I'm logged with root, when I start my script manually, it works. But
> when I include the same
> command line in the cron (crontab -e ... 15 15 * * *
> /urs/bin/local php -q myscript.php > /var/log/scriptlog)
>
> The cron start correctly the command but the script return an error :
> DB-Library : Login Incorrect.
Things that run from cron might not have the same environment as an
interative root login. Turn on FreeTDS logging and see what's being
passed to the server. I bet it's not a valid login. :)
--jkl
-
Crontab + DB-Library : Login Incorrect,
LUDO, 07/11/2002
- <Possible follow-up(s)>
- Re: Crontab + DB-Library : Login Incorrect, James K . Lowden, 07/11/2002
Archive powered by MHonArc 2.6.24.