From 46407e1e270d2bdbe87c6257f7126361d43b5eee Mon Sep 17 00:00:00 2001 From: Sergey Shambir <sergey.shambir@ispringsolutions.com> Date: Sat, 2 Mar 2019 15:45:19 +0300 Subject: [PATCH] Turned off verbose logging For busybox cron level 6 is enough to see errors and hide debug info Debug info shown at level 5 Nothing shown at levels 0, 1, 2, 3, 4 See https://unix.stackexchange.com/questions/412805/crond-log-level-meaning --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a2f099d..ca2ea94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ ENTRYPOINT ["/docker-entrypoint"] HEALTHCHECK --interval=5s --timeout=3s \ CMD ps aux | grep '[c]rond' || exit 1 -CMD ["crond", "-f", "-d", "0", "-c", "/etc/crontabs"] +CMD ["crond", "-f", "-d", "6", "-c", "/etc/crontabs"]