[freetds] php, freetds and cron

Hans Lang hal at mmg.de
Mon Jan 6 19:00:17 EST 2003


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






More information about the FreeTDS mailing list