Welcome Guest, Not a member yet? Register   Sign In
Execute a controller method in background.

(04-19-2017, 04:15 AM)saranayars Wrote: Hi,
     I have to execute controller method in background and I am using HMVC structure.
          class Test_Controller extends CI_Controller  {
                public function index() {
                public function test() {
                      // background script code
           } ?>

I need to execute the function test as background process using exec/shell command. Any solution?
If not,Where (folder structure) I  can write background script in codeigniter?

You need to trigger a background process execution, but you only think that it needs to be a controller method.
It shouldn't be.

Messages In This Thread
RE: Execute a controller method in background. - by Narf - 04-20-2017, 04:10 AM

Theme © iAndrew 2016 - Forum software by © MyBB