RE: [PHP] php script fails when run from cron
| From: | Jay Blanchard | Date: | Thu, 04 May 2006 12:22:08 +0000 |
| Subject: | RE: [PHP] php script fails when run from cron | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-235481@lists.php.net to get a copy of this message | ||
[snip]
The code then goes on to move some data from a remote SQL Server db to
the
local mysql. When finished, the log stops at "got two classes". I am
trying to debug now to see which of the two classes it seems to be
failing
on. I don't have anything in the php error log. The MSSQL connection
uses
freetds so I am not sure if it is something there but again this script
runs
fine with just php myfile.php.
[/snip]
Are you logging errors? If so you will likely locate the cause there. If
I were to hazard a guess at would be because include files are not
getting included as I have seen that behavior before.