mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Update docker/docker-entrypoint.sh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user