diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..1abaa2d --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,9 @@ +#!/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 +chmod 0644 $CRONTAB_FILE + +exec "$@" + +