Update entrypoint.sh

This commit is contained in:
mc303 2020-10-29 18:15:52 +01:00 committed by GitHub
parent 685f18a159
commit 4437a02e95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -e
echo \"$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2\" > $CRONTAB_FILE
echo "$CRON_SCHEDULE /usr/local/bin/php /opt/phpipam-agent/index.php update > /proc/self/fd/1 2>/proc/self/fd/2" > $CRONTAB_FILE
chmod 0644 $CRONTAB_FILE
exec "$@"