attempt data importer fix
This commit is contained in:
parent
11edd3e774
commit
9beb587b17
1 changed files with 3 additions and 2 deletions
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
env >> /etc/environment
|
export WEB_SERVER=false
|
||||||
|
env >>/etc/environment
|
||||||
|
|
||||||
printf "Configuring crontab: "
|
printf "Configuring crontab: "
|
||||||
cat <<EOF | tee /tmp/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
|
EOF
|
||||||
crontab /tmp/crontab
|
crontab /tmp/crontab
|
||||||
rm /tmp/crontab
|
rm /tmp/crontab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue