To stop mold, I empty my coffee knock box every two days into my compost bin and give it a quick cleaning once a week which takes all of 2-3 minutes. When I have a particularly wet puck, I empty it at the end of that session.