Thursday, September 3, 2009

Creating command-line script

Hello,

I have been working on a CakePHP webapp with great success, and would
like to create a script that will either be run manually from the
command line or ran via crontab nightly to populate a table with data
that is dynamically obtained through other functions within the
script.

Is there a way for me to create such a script so I can invoke
controller methods (ie: SomeClass->save($data)) to interact with the
models/data, or am I stuck having to write my own custom MySQL INSERT/
UPDATE queries?

Thanks,
Kris

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