From d3d959851a8f3045409d7b1665bd4e1f09026a88 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 11 Sep 2019 17:38:32 +0000 Subject: [PATCH] core136: update logwatch crontab entry Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/136/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/136/update.sh b/config/rootfiles/core/136/update.sh index 3c5d4bd86e..e6082c3977 100644 --- a/config/rootfiles/core/136/update.sh +++ b/config/rootfiles/core/136/update.sh @@ -57,6 +57,10 @@ rm -rf /usr/lib/perl5/site_perl/5.12.3 # update linker config ldconfig +# Update crontab +sed -i -e "s|^01 0 \* \* \*./usr/local/bin/logwatch|05 0 \* \* \*\t/usr/local/bin/logwatch|g" /var/spool/cron/root.orig +fcrontab -z &>/dev/null + # Update Language cache /usr/local/bin/update-lang-cache -- 2.39.5