Update docker/docker-entrypoint.sh

This commit is contained in:
Alejandro Celaya 2021-05-30 17:41:00 +02:00 committed by GitHub
parent bfdece1c23
commit b9e5eaf689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ fi
# set env var "ENABLE_PERIODIC_VISIT_LOCATE=1" to enable
if [ $ENABLE_PERIODIC_VISIT_LOCATE ]; then
echo "Starting periodic visite locate..."
echo "0 * * * * php bin/cli visit:locate -q" > /etc/crontabs/root
echo "0 * * * * php /etc/shlink/bin/cli visit:locate -q" > /etc/crontabs/root
/usr/sbin/crond &
fi