From 6df9069741bb4bf819410b04c99dc63e4df3b8ff Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sat, 13 Jan 2018 08:19:27 +0300 Subject: [PATCH] logcheck -> weekly --- cron.hourly/logcheck.cron | 10 ---------- {cron.daily => cron.weekly}/logcheck.cron | 0 2 files changed, 10 deletions(-) rename {cron.daily => cron.weekly}/logcheck.cron (100%) diff --git a/cron.hourly/logcheck.cron b/cron.hourly/logcheck.cron index 3b3f4fc..e69de29 100644 --- a/cron.hourly/logcheck.cron +++ b/cron.hourly/logcheck.cron @@ -1,10 +0,0 @@ -#!/bin/bash - -set -e - -if [ ! -d /var/lock/logcheck ]; then - mkdir -p /var/lock/logcheck -fi -chown -R logcheck:logcheck /var/lock/logcheck - -su -s /bin/bash -c /usr/sbin/logcheck logcheck diff --git a/cron.daily/logcheck.cron b/cron.weekly/logcheck.cron similarity index 100% rename from cron.daily/logcheck.cron rename to cron.weekly/logcheck.cron