diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-11-22 09:22:05 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-11-22 09:22:05 +0100 |
commit | 0891a7e512ede7b7177bda831891d2e3a8fa2465 (patch) | |
tree | 230c13afa05442afea3eedc85182888eea19e28d | |
parent | ee31b4b3c114c3f67732c5eb73f4a8f33e1b017f (diff) |
Added full path to hostnamemd-2023-11-22-v01
-rwxr-xr-x | metadata/scripts/weekly-routines-metadata.sh | 2 |
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 |