Ajout debut et fin dans fichier log
This commit is contained in:
parent
9d52183a60
commit
4a3f140d8a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user