Increase frequency of docker forgets

This commit is contained in:
Ajay 2024-04-27 00:42:55 -04:00
parent f841d8173b
commit 709485e0e9

View file

@ -8,6 +8,6 @@ RUN apk add --no-cache postgresql-client restic
COPY --from=builder --chmod=755 /scripts /usr/src/app/ COPY --from=builder --chmod=755 /scripts /usr/src/app/
RUN echo '30 * * * * /usr/src/app/backup.sh' >> /etc/crontabs/root RUN echo '30 * * * * /usr/src/app/backup.sh' >> /etc/crontabs/root
RUN echo '10 0 * * 1 /usr/src/app/forget.sh' >> /etc/crontabs/root RUN echo '10 0 * * */2 /usr/src/app/forget.sh' >> /etc/crontabs/root
CMD crond -l 2 -f CMD crond -l 2 -f