summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-11-22 09:22:05 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-11-22 09:22:05 +0100
commit0891a7e512ede7b7177bda831891d2e3a8fa2465 (patch)
tree230c13afa05442afea3eedc85182888eea19e28d
parentee31b4b3c114c3f67732c5eb73f4a8f33e1b017f (diff)
Added full path to hostnamemd-2023-11-22-v01
-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