summaryrefslogtreecommitdiff
path: root/metadata/scripts/weekly-routines-metadata.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2024-05-06 13:41:57 +0200
committerBjörn Mattsson <bjorn@sunet.se>2024-05-06 13:41:57 +0200
commit40c077203af61def32a228ed01456210a0152514 (patch)
tree95622b8c371478d30ff0d590e50e2b5c6d68a072 /metadata/scripts/weekly-routines-metadata.sh
parent6bf6030f27ba4d38ffa7aff08ef55fdbfe2cb9db (diff)
SWAMID-4119 Removed pingpong.hb.semd-2024-05-06-v01
Diffstat (limited to 'metadata/scripts/weekly-routines-metadata.sh')
-rwxr-xr-xmetadata/scripts/weekly-routines-metadata.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/metadata/scripts/weekly-routines-metadata.sh b/metadata/scripts/weekly-routines-metadata.sh
index c7f6dafd..66c99828 100755
--- a/metadata/scripts/weekly-routines-metadata.sh
+++ b/metadata/scripts/weekly-routines-metadata.sh
@@ -6,11 +6,17 @@
if [ `/usr/bin/hostname -f` == 'metadata.swamid.se' ] ;then
# Send out reminders only from metadata.swamid.se
+ echo
+ echo "Sending reminders"
docker exec swamid-metadata-sp php /var/www/scripts/sendMailReminders.php
fi
# Clean up database
+echo
+echo "Remove old entities"
docker exec swamid-metadata-sp php /var/www/scripts/cleanupDatabase.php
#Remove old URLs
+echo
+echo "Checking URL:s"
docker exec swamid-metadata-sp php /var/www/scripts/checkOldURLs.php