开发者

Include models in Cakephp without going through index.php

I'm using CakePHP to build a site which has a crawler that mines data from different sites. The problem is that I would like to be able to call 开发者_如何转开发the crawler from command line (since it can take hours for it to finnish) and I would like to the use models in CakePHP when saving the data.

Is there a file I could just include that includes the rest for me? If I just include the index.php it dispatches the call which I don't want.

Regards Nicklas


Check out the Cake shell: http://book.cakephp.org/view/108/The-CakePHP-Console

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜