Friday, November 4, 2011

Re: error while running shell as cron

On 4 November 2011 13:09, abhimanyu bv <vmabhi453@gmail.com> wrote:
> 1.3it is
>
> On Fri, Nov 4, 2011 at 6:27 PM, euromark <dereuromark@googlemail.com> wrote:
>>
>> cake1.3 or 2.0?
>>
>> On 4 Nov., 13:35, abhimanyu bv <vmabhi...@gmail.com> wrote:
>> > I am getting the following error when cron is running- 'PHP Fatal
>> > error:  Class 'Shell' not found in /var/www/web/vendors/shells/
>> > deals.php on line 3'.
>> > How to rectify this error?

What does your cron look like? I usually use absolute paths to the
console and to the app:

php /path/to/cake/console/cake -app /path/to/app

hth

j

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: