Schedule your Mac to start up, shut down, or sleep
Schedule specific times for your Mac to start up, shut down, go to sleep, or wake from sleep. You might do this if you want to be sure your Mac turns off when you aren’t working and turns on before you come to work.
On your Mac, choose Apple menu > System Preferences, then click Energy Saver.
Click Schedule in the bottom-right corner, then select the options you want to use.
Schedule a startup or wake time for your Mac: Select the “Start up or wake” checkbox. Choose a day or group of days from the pop-up menu, then enter a time.
Schedule a sleep, restart, or shutdown time for your Mac: Select the bottom checkbox and choose the appropriate option from the pop-up menu on the left. Choose a day or group of days from the pop-up menu on the right, then enter a time.
Your Mac must be awake and you must be logged in for it to shut down at the scheduled time. If you are not logged in or your Mac is in sleep, it won’t shut down.
Note: If you have any documents open with unsaved changes, your Mac might not go to sleep or shut down when scheduled.