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

Hi,
     I have to execute controller method in background and I am using HMVC structure.
     
       <?php
          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?
Reply


Messages In This Thread
Execute a controller method in background. - by saranayars - 04-19-2017, 04:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB