Welcome Guest, Not a member yet? Register   Sign In
Help with running via the CLI
#1

[eluser]Unknown[/eluser]
After reading this documentation http://ellislab.com/codeigniter/user-gui...l/cli.html I am attempting to run a controller action I created via the linux CLI. The controller "Export" is located in /var/www/svncheckout/glassquote/system/application/controllers/cli and I am attempting call a method "leadsToShopsAsExcel"

In linux I do the following:
Code:
cd /var/www/svncheckout/glassquote/system/application/controllers/cli
php index.php export leadsToShopsAsExcel
Could not open input file: index.php

As you can see I get "Could not open input file: index.php" as an error. I also tried removing the index.php (I setup my ci install to not need that) and a few other variants. No luck. Yes I can get this code to work by executing via browser window at http://glassquote.local/cli/export/leadsToShopsAsExcel/

Did I do something wrong or misinterpret the documentation? Any advice?




Theme © iAndrew 2016 - Forum software by © MyBB