Peel and cut apples in small piece, put into pot, add sugar, salt, allspice, cinnamon and cloves. Put lid on pot and cook 10-12 hours on low. Put into hot jars and seal.