Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Corrected crontab
  • Loading branch information
ptruman authored Sep 8, 2020
1 parent af33a25 commit 34a7567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ RUN apk update && \
curl https://raw.githubusercontent.com/ptruman/cwatch/master/cwatch.sh > /usr/sbin/cwatch.sh && \
chmod a+rx /usr/sbin/cwatch.sh && \
touch /var/log/cwatch && \
echo "* 1 * * * /usr/sbin/cwatch.sh > /var/log/cwatch" >> /etc/crontabs/root
echo "0 1 * * * /usr/sbin/cwatch.sh > /var/log/cwatch" >> /etc/crontabs/root

CMD ["crond", "-f"]

0 comments on commit 34a7567

Please sign in to comment.