Add php script executable

This commit is contained in:
Michael RICOIS 2014-04-07 07:47:50 +00:00
parent 71f83561d3
commit 3ce297dc98

View File

@ -69,7 +69,7 @@ if ( count($result)>0 ) {
if (count($result)>0) {
$info = $result->current();
echo "Lancement enrichissement $info->id\n";
exec(realpath(dirname(__FILE__))."/jobs/enrichissement.php --id ".$info->id." &");
exec('php '.realpath(dirname(__FILE__))."/jobs/enrichissement.php --id ".$info->id." &");
}
}