Spotter-VM/seeddms/etc/periodic/hourly/seeddms

6 lines
176 B
Bash
Executable File

#!/bin/sh
if docker ps | grep -q 'seeddms$'; then
docker exec seeddms "cd /srv/seeddms/www/utils/ && /usr/bin/php indexer.php --config ../conf/settings.xml" >/dev/null
fi