[freetds] php, freetds and cron

Hans Lang hal at mmg.de
Mon Jan 6 22:40:22 EST 2003


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
> 
> 




More information about the FreeTDS mailing list