include defer from cli to apache

From: Date: Sat, 29 Jul 2006 00:25:19 +0000
Subject: include defer from cli to apache
Groups: php.general 
Request: Send a blank email to php-general+get-239866@lists.php.net to get a copy of this message
I' trying to include files from a script which will be executed from CLI via cron. Now, if I execute the script from the command line it works OK, but when it's executed via cron I fails to include a file, which is being included via and include from the script. It looks like when including a file directories are changes, and so the new include doesn't work as it's referencing from a different directory. Is there something I should be aware of? -- --------------------------------------------------------- Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática | '@' || 'unl.edu.ar'; Universidad Nacional | DBA, Programador, del Litoral | Administrador ---------------------------------------------------------

« previous php.general (#239866) next »