how long in fridge

So I just started LO on solids and he doesn't really like the taste of them but I still give him a few spoonfuls just to get him used to tastes textures and the actual spoon, but I was just wondering how long everyone leaves the opened jars of baby food in the fridge if you don't use it all?