aboutsummaryrefslogtreecommitdiffstats
path: root/autoBackup/Dockerfile
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-07-27 00:12:22 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-07-27 00:12:22 +0100
commit9035a17e5126d7bcc54bf42a65ac291573078d8e (patch)
tree69b8a9337c7fe45de26382dfc2116ae4f78d37a4 /autoBackup/Dockerfile
parente236023989ecf9caf4b27d7f6686f67724ac75d0 (diff)
downloadBetterZFSReplication-9035a17e5126d7bcc54bf42a65ac291573078d8e.tar.gz
BetterZFSReplication-9035a17e5126d7bcc54bf42a65ac291573078d8e.zip
Added autoScrub script to run monthly
Diffstat (limited to 'autoBackup/Dockerfile')
-rw-r--r--autoBackup/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoBackup/Dockerfile b/autoBackup/Dockerfile
index 1ae96da..edcaf84 100644
--- a/autoBackup/Dockerfile
+++ b/autoBackup/Dockerfile
@@ -9,5 +9,6 @@ RUN pip3 install -r requirements.txt
RUN pip3 install -r TasmotaCLI/requirements.txt
RUN echo "0 21 * * sat,wed root python3 /app/autoBackup.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab
+RUN echo "@monthly root python3 /app/autoScrub.py > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab
ENTRYPOINT ["bash"]
CMD ["entrypoint.sh"] \ No newline at end of file