summaryrefslogtreecommitdiff
path: root/metadata/scripts/weekly-routines-metadata.sh
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/scripts/weekly-routines-metadata.sh')
-rwxr-xr-xmetadata/scripts/weekly-routines-metadata.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/metadata/scripts/weekly-routines-metadata.sh b/metadata/scripts/weekly-routines-metadata.sh
new file mode 100755
index 00000000..e6178165
--- /dev/null
+++ b/metadata/scripts/weekly-routines-metadata.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Used on metadata.swamid.se and metadata.lab.swamid.se
+
+# Store statistics
+docker exec swamid-metadata-sp php /var/www/scripts/saveWeekStats.php
+
+#Remove old URLs
+docker exec swamid-metadata-sp php /var/www/scripts/checkOldURLs.php