Correction exec sur cron

This commit is contained in:
Michael RICOIS 2012-02-01 14:09:21 +00:00
parent a252e974fd
commit 53f0a7033b

View File

@ -62,4 +62,4 @@ $sql = $commandesM->select()
->where('idProfil != ?', 0)
->where("dateStop = '0000-00-00 00:00:00'");
$result = $commandesM->fetchAll($sql, 'dateAdded ASC', 1);
exec(realpath(dirname(__FILE__))."/enrichisement.php --id ".$result->id." &");
exec(realpath(dirname(__FILE__))."/enrichissement.php --id ".$result->id." &");