attempt data importer fix

This commit is contained in:
Luca Bilke 2025-01-27 17:49:05 +01:00
commit 9beb587b17
No known key found for this signature in database
GPG key ID: F6E11C9BAA7C82F5

View file

@ -2,11 +2,12 @@
set -eu
export WEB_SERVER=false
env >>/etc/environment
printf "Configuring crontab: "
cat <<EOF | tee /tmp/crontab
${CRON_TIMER} WEB_SERVER=false /usr/local/bin/entrypoint.sh >/proc/1/fd/1 2>/proc/1/fd/2
${CRON_TIMER} . /etc/environment; cd /var/www/html && /usr/local/bin/entrypoint.sh >/proc/1/fd/1 2>/proc/1/fd/2
EOF
crontab /tmp/crontab
rm /tmp/crontab