Run every 15 minutes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Manske 2024-02-12 15:47:04 +01:00
parent 3be5181250
commit 1065d93415
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 7 additions and 1 deletions

View File

@ -34,5 +34,5 @@ RUN /usr/local/bin/python3 setup.py install
FROM base
WORKDIR /root
CMD ["/usr/local/bin/offlineimap"]
CMD ["sh", "/app-src/entrypoint.sh"]
# reads from /root/.offlineimaprc by default - mount this in for running

6
entrypoint.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
while true; do
offlineimap
sleep 900
done