Combine the red onions, chilli, olive oil, sugar, and vinegars into your slow cooker
Put the lid on and cook on LOW for 8 and 1/2 hours until thick and jammy, stirring from time to time
Season to taste with salt and pepper before leaving to cool
Spoon into sterilised jars