Hello All,
I had a php script which i used to execute in background. This script was
called from some other php script. I used following to execute the script in
background:
$backscript = "test.php";
exec("$path_to_php $backscript params> /dev/null &");// (>/dev/null & part
is what sends to background)
Now i have turned this background script into an action of the controller
but still want to execute it in background. I am trying it as follows:
$backscript = "mycontroller/action";
exec("$path_to_php $backscript params> /dev/null &");// (>/dev/null & part
is what sends to background)
but with no success. Any help or pointers on doing this in cake will be
highly appreciated.
--
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---