From 365839b053ef31049d06304c57ada9471016dfbe Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Tue, 16 Apr 2019 15:35:11 +0200
Subject: [PATCH] fix crontab rm log fulltext

---
 install/class/Class_Install.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/class/Class_Install.php b/install/class/Class_Install.php
index 8d904f3ffba..d4894bf4d6a 100755
--- a/install/class/Class_Install.php
+++ b/install/class/Class_Install.php
@@ -922,7 +922,7 @@ class Install extends functions
 ######################fulltext###################################################
 
 */5 5-21 * * 1-5       '.realpath('.').'/custom/cs_'.$_SESSION['config']['databasename'].'/modules/full_text/scripts/launch_fulltext.sh
-20 12 * * 0        rm -Rf '.realpath('.').'/modules/full_text/log/*.log
+20 12 * * 0        rm -Rf '.realpath('.').'/modules/full_text/log/*/*.log
 ';
         fwrite($file, $cron);
         fclose($file);
-- 
GitLab