OS X does it by itself at 3am with a daily, weekly, and monthly routine. just close the lid when you're done with it in the evening and let it go to sleep. it will awake and perform those procedures on its own when scheduled then go back to sleep.
OS X, specifically the UNIX foundation it is built on, it designed to stay on unlike Windows, which is designed to be powered down after use.