aboutsummaryrefslogtreecommitdiffstats
path: root/cron/entrypoint.sh
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-06-17 14:28:49 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-06-17 14:28:49 +0100
commit4bcba9bfeff003e081833b4d6290290271aae967 (patch)
tree02e0bd2a7119333be1d5e53d9b40bd85e6254359 /cron/entrypoint.sh
parent2bdc35bd8159c6ccbb9d87f0abca25f6dd784f52 (diff)
downloadSmallYTChannelBot-4bcba9bfeff003e081833b4d6290290271aae967.tar.gz
SmallYTChannelBot-4bcba9bfeff003e081833b4d6290290271aae967.zip
Updated cron scripts
Diffstat (limited to 'cron/entrypoint.sh')
-rw-r--r--cron/entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cron/entrypoint.sh b/cron/entrypoint.sh
new file mode 100644
index 0000000..610bf84
--- /dev/null
+++ b/cron/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