I want to send push notifications in background. For that I want to call php file which will send push notifications in background using COM. Here is my code in which I want to call controller function using COM. But it's not working.
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("D:\wamp\bin\php\php5.4.16\php-win.exe -f D:\wamp\www\Project_name\Controller\function", 0, false);
Please help me