[PHP] CAN'T connect to db when running PHP as Cron

2001-07-18 Thread Reuben D Budiardja
I post this yesterday, but no one responds. Please someone help. I wonder if my problem is actually a bug in php or cron. -- Hello, I have a php script that connect to database and retrieve something, or do something with the db. I can run the script

Re: [PHP] CAN'T connect to db when running PHP as Cron

2001-07-18 Thread infoz
I would gather the output from phpinfo() for each case (web server cron job) and compare them. Often a path or environment variable will be different. This is especially true of Oracle which is somewhat fussy about having it's environment set properly in order to connect. - Tim