diff --git a/Dockerfile b/Dockerfile index d39b5423..87ff4f89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,5 +30,5 @@ COPY . ./ ARG GIT_CURRENT_COMMIT="" ENV GIT_CURRENT_COMMIT=${GIT_CURRENT_COMMIT} -COPY cronfile /etc/cron.d/musicloud.cronfile -RUN chmod 0644 /etc/cron.d/musicloud.cronfile +COPY cronfile /etc/cron.d/musicloud +RUN chmod 0644 /etc/cron.d/musicloud diff --git a/cronfile b/cronfile index a921e2eb..486f57bf 100644 --- a/cronfile +++ b/cronfile @@ -1,2 +1,2 @@ -0 5 * * * root curl -X POST http://guest:please@localhost:8080/cron/cleanFileSystem -* * * * * root curl -X POST http://guest:please@localhost:8080/cron/generatePeaks +0 5 * * * root /usr/bin/curl -X POST http://guest:please@localhost:8080/cron/cleanFileSystem +* * * * * root /usr/bin/curl -X POST http://guest:please@localhost:8080/cron/generatePeaks