summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'metadata')
-rwxr-xr-xmetadata/scripts/weekly-routines-metadata.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/scripts/weekly-routines-metadata.sh b/metadata/scripts/weekly-routines-metadata.sh
index 0b57467f..2b2a56bc 100755
--- a/metadata/scripts/weekly-routines-metadata.sh
+++ b/metadata/scripts/weekly-routines-metadata.sh
@@ -4,7 +4,7 @@
# Store statistics
#docker exec swamid-metadata-sp php /var/www/scripts/saveWeekStats.php
-if [ `hostname -f` == 'metadata.swamid.se' ] ;then
+if [ `/usr/bin/hostname -f` == 'metadata.swamid.se' ] ;then
# Send out reminders only from metadata.swamid.se
docker exec swamid-metadata-sp php /var/www/scripts/sendMailReminders.php
fi