Running via the CLI on Windows 7 |
Sorry for my bad English.
CI 3.0.6 + cli Win7 + Virtual Server Denwer I have a next problem: I try launch controller in cli. In CLI I write next Code: w: in %php% I installed var environment to php.exe. When I call this Code: %php% index.php cron/tasklist Result is ok: hello world! If I postpone tasklist.php in /controller folder without subfolder /cron, and perform request Code: %php% index.php tasklist If I pass params in CLI Code: %php% index.php cron/tasklist param1 CI generates the error "The controller/method pair you requested was not found". In other case Code: %php% index.php cron/tasklist/param1 result analogical - not found. What I do wrong? How I can pass params in controller?
Probably there are other ways, I personally use this one: http://code.tutsplus.com/tutorials/6-cod...--net-8308 , see "4. Running CodeIgniter from the Command Line"
|
Welcome Guest, Not a member yet? Register Sign In |