Running through CLI

Permalink
Is there a way to run/call a C5 page through PHP CLI?
I need to do this because adding a huge number of pages (migrating old data) through the API takes A LOT of time when run through the web server, while takes a fraction of that time when run with CLI.
Any idea?

okhayat
 
okhayat replied on at Permalink Reply
okhayat
Bump! Any one please?
griebel replied on at Permalink Reply
griebel
jordanlev replied on at Permalink Reply
jordanlev
That page is no longer available (and redirects to something completely unrelated -- weird). Here's a google cache of it:
http://webcache.googleusercontent.com/search?q=cache:TAs0FUuGyaQJ:w...

That being said, the OP is asking how to do this stuff WITHOUT running through the web server, which I don't think is possible. @okhayat, perhaps a different solution would be to run on a faster web server -- set up a C5 installation on a fast VPS with opcode caching, etc., then when things are imported just dump the database and /files/? Maybe you're already doing that, but that's the only solution I can think of.