Ajout debut et fin dans fichier log

This commit is contained in:
Michael RICOIS 2015-07-28 08:55:17 +00:00
parent 9d52183a60
commit 4a3f140d8a

View File

@ -69,6 +69,8 @@ if( isset($opts->help) || count($opts->getOptions())==0 )
exit;
}
echo date('Y-m-d H:i:s') . " - Debut execution\n";
$c = new Zend_Config($application->getOptions());
$db = Zend_Db::factory($c->profil->db->metier);
Zend_Db_Table_Abstract::setDefaultAdapter($db);
@ -289,3 +291,4 @@ if ($opts->cron || $oneShot) {
}
echo date('Y-m-d H:i:s') . " - Fin execution\n";