diff --git a/ecrire/inc/genie.php b/ecrire/inc/genie.php index 22f2d7414ada4144a36f6211e1f1a9796c402960..6540de01c11fc266d20296c3356e968ea7478357 100644 --- a/ecrire/inc/genie.php +++ b/ecrire/inc/genie.php @@ -78,12 +78,13 @@ function inc_genie_dist($taches = array()) { } if ($tache) { spip_timer('tache'); + spip_log('cron: debut '.$tache, 'genie'); touch($lock); $cron = charger_fonction($tache, 'genie'); $retour = $cron($last); // si la tache a eu un effet : log if ($retour) { - spip_log("cron: $tache (" . spip_timer('tache') . ") $retour"); + spip_log("cron: $tache (" . spip_timer('tache') . ") $retour", 'genie'); if ($retour < 0) @touch($lock, 0 - $retour); }