Skip to content

Commit

Permalink
Merge pull request #4 from pldin601/cron
Browse files Browse the repository at this point in the history
Fix crontab again
  • Loading branch information
pyldin601 authored Jul 17, 2017
2 parents a35454d + 045a8ba commit a2269ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ COPY . ./
ARG GIT_CURRENT_COMMIT="<unknown>"
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
4 changes: 2 additions & 2 deletions cronfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2269ae

Please sign in to comment.