Re: PHP + Cron jobs

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

 



Oh, I thought having one for cgi and one for cli was common. Do people
generally run only one, regardless of whether they're hitting it from
a webserver or running it from the commandline?

Thanks,
Waynn

On 10/1/08, Per Jessen <per@xxxxxxxxxxxx> wrote:
> Waynn Lue wrote:
>
>> Right, and I am, so I stayed away from that solution.  My next
>> attempt was to specify /usr/local/bin/php in the cron job, but that
>> led to a problem because of the include paths.  Now that I specific
>> the full path, evidently the include path no longer is relative to the
>> directory that's being executed from, and so it fails to execute.  One
>> solution is to also include the executing directory in the php script
>> itself, I assume, but is there any better solution than that?
>>
>
> I would take a look at your core problem - why do you have php
> executables in both /usr and /usr/local?
>
>
> /Per Jessen, Zürich
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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