Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter for command-line apps? Anyone?
#1

[eluser]smidiod[/eluser]
In essence - part of my app needs to run as CRON job (probably under Vixiecron, but that's not an issue).

Sooooo.... is it possible to invoke PHP from the terminal and have it run some ignited code - i.e. code that does not have an connection to a physical webpage.

I don't need console messages (any errors can log as normal) but I would like to utlitise MVC since the rest of my app is running (well) in that - thanks to CI!
#2

[eluser]pistolPete[/eluser]
http://ellislab.com/forums/viewreply/533463/
#3

[eluser]smidiod[/eluser]
D'oh!

I searched for the wrong terms and came up blank!

Thanks for that. This link (of yours) is so good it's worth repeating:

http://phpstarter.net/2008/12/run-codeig...-line-ssh/




Theme © iAndrew 2016 - Forum software by © MyBB