From d4ea73f9b2ac5139169767127b94064dd750bd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek=20=28YCNet=29?= Date: Sun, 28 Oct 2018 15:33:28 +0100 Subject: [PATCH] Enable cron --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3c3e945..7279a5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ VOLUME /data RUN apk add --no-cache git bash openssh parallel openssh-keygen vim shadow RUN useradd --uid 10000 -ms /bin/bash executor RUN chown executor:executor /data -RUN echo "#* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/executor +RUN echo "* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/executor RUN touch /var/run/cloner.pid RUN chown executor:executor /var/run/cloner.pid RUN apk del shadow