#!/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 [ `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