From 045a8bada7df019f43df8c750fd476a202d50684 Mon Sep 17 00:00:00 2001 From: Roman Lakhtadyr Date: Mon, 17 Jul 2017 19:44:21 +0300 Subject: [PATCH] Fix crontab again --- Dockerfile | 4 ++-- cronfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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