Wednesday, April 1, 2009

How to use the shell in installation with different folders

Hello everybody,

In my installation I have different locations for cake, the app and the
webroot. Now I want to write my own shell in /app/vendors/shells
following
http://book.cakephp.org/view/110/Creating-Shells-Tasks
So that I can start something via a cronjob without having to log in.

What I ask myself now is:
How can I start my shell?

Do I have to move to the cake folder? Or in my vendors/shells folder of
the app? If i try to start is in the vendors/shells folder with
$ cake myshellname
I get the error message
$ cake: command not found
Which is now wonder because cake is far, far away.

Does anybody have an idea?

Thank you in advance!

Anja

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: