Ajout debug sur cron

This commit is contained in:
Michael RICOIS 2012-02-01 14:11:15 +00:00
parent 53f0a7033b
commit 5f99e570e1

View File

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