From 3eadd7d54472ebc3f763c0e38e18aacd12a05485 Mon Sep 17 00:00:00 2001 From: Patrick Marchand Date: Fri, 9 Nov 2018 18:56:55 +0100 Subject: [PATCH] Rajout d'un cron a packweb pour ftpd The cronjob that maintains file size caches for ftpadmin is not present in the packweb, which leads to things like spinon-www0 listing all directories as being 0 octets big. --- packweb-apache/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packweb-apache/tasks/main.yml b/packweb-apache/tasks/main.yml index b24c9ae6..230fb41a 100644 --- a/packweb-apache/tasks/main.yml +++ b/packweb-apache/tasks/main.yml @@ -71,3 +71,9 @@ - include: fhs_retrictions.yml when: packweb_fhs_retrictions + +- name: Periodically cache ftp directory sizes for ftpadmin.sh + cron: + name: "ProFTPd directory size caching" + special_time: daily + job: "/usr/share/scripts/evoadmin/stats.sh"