Skip to content
Extraits de code Groupes Projets
Valider 8087d80f rédigé par Fil's avatar Fil
Parcourir les fichiers

report de r16731 (mieux loger le genie)

parent ff643cd2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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);
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter