Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Changed crontab to run at 2am instead of 1am, as DST changes caused there to be 2 x 1ams and thus it runs twice :)
  • Loading branch information
ptruman committed Nov 7, 2020
1 parent c0731cd commit 0c19150
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 "0 1 * * * /usr/sbin/cwatch.sh > /var/log/cwatch" >> /etc/crontabs/root
echo "0 2 * * * /usr/sbin/cwatch.sh > /var/log/cwatch" >> /etc/crontabs/root

CMD ["crond", "-f"]

0 comments on commit 0c19150

Please sign in to comment.