For production:

1) switch off hilis3 convert (rename & set to 666) !!
2) set all crons to 755 and remove JUST_TESTING flag
3) is_in_production_mode=1 in settings.txt
4) check external_user_timeout setting
5) check postfix is working
6) enable SSL certificate
7) ensure file conversion from HONG /data is up to date
8) set re-direct on nww.hmds.leedsth.nhs.uk to SuSE box
9) run patient_duplicates.sql and resolve
10) switch off HONG crons
11) check MySQL db tables OK with check table tool
12) foreign keys on outreach & hmrn tables
13) set 'constant APP_URL' in mail_reports.pl