summaryrefslogtreecommitdiff
path: root/metadata/scripts/weekly-routines-metadata.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-11-30 16:05:15 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-11-30 16:05:15 +0100
commitccfd2ac705fd1fb1f846a95c0caacf895483bc57 (patch)
treecb89b0f2e0a780725faf4b6053ce61de55966e80 /metadata/scripts/weekly-routines-metadata.sh
parent8078fa813cc38fee0233da5fa1c29102cac71cf3 (diff)
SWAMID-3514 Added bankid-idp.sunet.se
Diffstat (limited to 'metadata/scripts/weekly-routines-metadata.sh')
-rwxr-xr-xmetadata/scripts/weekly-routines-metadata.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/metadata/scripts/weekly-routines-metadata.sh b/metadata/scripts/weekly-routines-metadata.sh
index 2b2a56bc..c7f6dafd 100755
--- a/metadata/scripts/weekly-routines-metadata.sh
+++ b/metadata/scripts/weekly-routines-metadata.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Used on metadata.swamid.se and metadata.lab.swamid.se
# Store statistics
@@ -9,5 +9,8 @@ if [ `/usr/bin/hostname -f` == 'metadata.swamid.se' ] ;then
docker exec swamid-metadata-sp php /var/www/scripts/sendMailReminders.php
fi
+# Clean up database
+docker exec swamid-metadata-sp php /var/www/scripts/cleanupDatabase.php
+
#Remove old URLs
docker exec swamid-metadata-sp php /var/www/scripts/checkOldURLs.php