Simply write a script that takes the command line arguments set's them 
as $_POST or $_GET variables and also sets a $_GET['url'] value. Then 
let this script include the /app/webroot/index.php and everything should 
work as usual.

-- Felix
--------------------------
http://www.thinkingphp.org
http://www.fg-webdesign.de


Chris Hartjes wrote:
> I've been using Felix's awesome Google Analytics model to create some
> reports on the forum sites my employer owns.  However, I'm wondering
> if it's even possible to create a CakePHP app that can be run as a CLI
> app as a cron job...
>
> Any thoughts on how to accomplish this?
>
>   


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to