Merge pull request #3 from uvensys/add_background_jobs_to_docker

add environment to cron
This commit is contained in:
steschuser 2021-06-01 15:21:22 +02:00 committed by GitHub
commit ff5270fbad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ RUN mkdir /etc/services.d/gunicorn && \
# Create service script for cron # Create service script for cron
RUN mkdir /etc/services.d/cron && \ RUN mkdir /etc/services.d/cron && \
echo $'#!/usr/bin/execlineb -P\ncrond -f\n' > /etc/services.d/cron/run && \ echo $'#!/usr/bin/execlineb -P\nwith-contenv\ncrond -f\n' > /etc/services.d/cron/run && \
chmod +x /etc/services.d/cron/run chmod +x /etc/services.d/cron/run
# Add crontab entries # Add crontab entries