From 9c99e680cc02c97401aef986dd0d257bcbb41ca3 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Wed, 15 Dec 2004 12:24:40 +0000
Subject: [PATCH] =?UTF-8?q?forcer=20les=20visites=20=C3=A0=20minuit=20et?=
 =?UTF-8?q?=2060=20secondes=20(plus=20prudent)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_cron.php3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc_cron.php3 b/ecrire/inc_cron.php3
index 86d4d12de4..d5f420d0ab 100644
--- a/ecrire/inc_cron.php3
+++ b/ecrire/inc_cron.php3
@@ -187,7 +187,7 @@ function cron_visites($t) {
 	// il vaut mieux le lancer peu apres minuit, 
 	// donc on retourne "aujourd'hui a 0h 0m 1s 
 	// pour etre appele demain a cette heure
-	return 0 - strtotime(date("d F Y", time())+1);
+	return 0 - (strtotime(date("d F Y", time()))+60);
 }
 
 function cron_mail($t) {
-- 
GitLab