aboutsummaryrefslogtreecommitdiffstats
path: root/autoBackup/entrypoint.sh
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-02-16 17:24:27 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2025-02-16 17:24:27 +0000
commitf1ebe61647115a3cce8da64bfd2a3f6c360db5d1 (patch)
tree7907820cdd11bb16dda581fe7a220f4e1b6137b7 /autoBackup/entrypoint.sh
parentba742bbb4a884f668437b98a490b84d87d6df846 (diff)
downloadBetterZFSReplication-f1ebe61647115a3cce8da64bfd2a3f6c360db5d1.tar.gz
BetterZFSReplication-f1ebe61647115a3cce8da64bfd2a3f6c360db5d1.zip
Added Dockerfile with cronjob
Diffstat (limited to 'autoBackup/entrypoint.sh')
-rw-r--r--autoBackup/entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoBackup/entrypoint.sh b/autoBackup/entrypoint.sh
new file mode 100644
index 0000000..610bf84
--- /dev/null
+++ b/autoBackup/entrypoint.sh
@@ -0,0 +1,4 @@
+# https://stackoverflow.com/questions/27771781/how-can-i-access-docker-set-environment-variables-from-a-cron-job/35088810#35088810
+printenv | grep -v "no_proxy" >> /etc/environment
+
+cron -f \ No newline at end of file