Fill up the bottle with the cooking oil of your choice and the pump will deliver a fine mist so you. It doesn't have to be just oil either. You can fill it up with vinegar, sherry, cooking wine ...
When stored properly, coconut oil can easily last for up to two years. The keyword here is properly -- if you're given a fresh jar or bottle of coconut oil, you'll need to have the correct storage ...