Merge pull request #25050 from DenKoren/cron_fix

Mute stdout and stderr for both branches of cron task's if
This commit is contained in:
alexey-milovidov 2021-06-10 02:06:37 +03:00 committed by GitHub
commit 9656c67853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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