This commit is contained in:
Michael RICOIS 2014-05-29 16:05:02 +00:00
commit 45aaeeabd4

View File

@ -64,7 +64,7 @@ if ( count($result)==0 ) {
$result = $commandesM->fetchAll($sql);
if (count($result)>0) {
$info = $result->current();
echo "Lancement enrichissement $info->id\n";
echo date('Y-m-d H:i:s')." - Lancement enrichissement $info->id\n";
$c = new Zend_Config($application->getOptions());
$log = $c->profil->path->data.'/log/'.$info->id.'.log';
exec('php '.__DIR__."/jobs/enrichissement.php --id ".$info->id." 2>&1 >> ".$log." &");