Skip to Content.
Sympa Menu

freetds - Re: [freetds] php, freetds and cron

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Hans Lang <hal AT mmg.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] php, freetds and cron
  • Date: Mon, 06 Jan 2003 22:40:22 +0100

hi again,


it is the TDSDUMP= that makes the whole thing run. TDSDUMPCONFIG= dumps the config, as it should, but TDSDUMP does miracles.

The files specfied after TDSDUMP contains a dump, as expected.
without specifying TDSDUMP= nothing works.

is there any other way to find out whats going wrong when simply calling the script?

greetings,
Hans




Frediano Ziglio wrote:
Il lun, 2003-01-06 alle 19:00, Hans Lang ha scritto:

hi,

and thank you all for your help.
and now for something astonishing: James' tipp to set the variables TDSDUMP and TDSDUMPCONFIG does not only help me resolving the problem, it solves the problem itself.

the script

#!/bin/bash
#
export TDSDUMPCONFIG=/tmp/t_foo
export TDSDUMP=/tmp/t_bar
/usr/local/bin/php -q /path/tagestipps.php >>/tmp/t_log 2>>/tmp/t_err

works, but

#!/bin/bash
#
/usr/local/bin/php -q /path/tagestipps.php >>/tmp/t_log 2>>/tmp/t_err

does not work.

what does setting these variables force the library to do?



mfg
hans



Look weird...

Try setting only one of the two options...
These options enable only dump...

bye
freddy77


_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds







Archive powered by MHonArc 2.6.24.

Top of Page