On 11/30/06, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
>
>  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.
>

Hrm...that's an interesting idea.  Basically what I'm looking to do is
fire off a script that uses the model that Felix created to collect
data from Google Analytics, then insert that into the database.

What you're suggesting doesn't appear to fit that bill, but that's
perhaps because I haven't wrapped my mind around how to do it.

I guess my question is this:  how do I fire off a controller/action
pair via a CLI script?

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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