Merge
This commit is contained in:
commit
45aaeeabd4
@ -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." &");
|
||||
|
Loading…
Reference in New Issue
Block a user