summaryrefslogtreecommitdiff
path: root/metadata/scripts/weekly-routines-metadata.sh
blob: 2b2a56bc4f03913eaf0543b7d6b0e3bb5ff5b02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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

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

#Remove old URLs
docker exec swamid-metadata-sp php /var/www/scripts/checkOldURLs.php