From 1931406ec4336bede16c4d1c6a81f1e0ce92372f Mon Sep 17 00:00:00 2001 From: Korenevskiy Denis Date: Mon, 7 Jun 2021 16:14:04 +0300 Subject: [PATCH] Mute stdout and stderr for both branches of cron task's if --- debian/clickhouse-server.cron.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/clickhouse-server.cron.d b/debian/clickhouse-server.cron.d index 03bbd620aa7..1e5d4aab733 100644 --- a/debian/clickhouse-server.cron.d +++ b/debian/clickhouse-server.cron.d @@ -1 +1 @@ -#*/10 * * * * root (which service > /dev/null 2>&1 && (service clickhouse-server condstart ||:)) || /etc/init.d/clickhouse-server condstart > /dev/null 2>&1 +#*/10 * * * * root ((which service > /dev/null 2>&1 && (service clickhouse-server condstart ||:)) || /etc/init.d/clickhouse-server condstart) > /dev/null 2>&1