diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-11-30 16:05:15 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-11-30 16:05:15 +0100 |
commit | ccfd2ac705fd1fb1f846a95c0caacf895483bc57 (patch) | |
tree | cb89b0f2e0a780725faf4b6053ce61de55966e80 /metadata/scripts | |
parent | 8078fa813cc38fee0233da5fa1c29102cac71cf3 (diff) |
SWAMID-3514 Added bankid-idp.sunet.se
Diffstat (limited to 'metadata/scripts')
-rwxr-xr-x | metadata/scripts/weekly-routines-metadata.sh | 5 |
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 |