include defer from cli to apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux