Schedule your Mac notebook to turn on or off
Schedule specific times for your Mac to start up, sleep, restart, or shut down. You can do this if you want to be sure your Mac turns on before you come to work and turns off when you aren’t working.
On your Mac, choose Apple menu > System Preferences, click Battery, then click Schedule.
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, enter a time, then click Apply.
Schedule a sleep, restart, or shutdown time for your Mac: Select the “Sleep, restart, or shut down” checkbox and choose the appropriate option from the pop-up menu. Choose a day or group of days, enter a time, then click Apply.
Click Restore Previous Settings to revert your changes and go back to the last schedule.
Your Mac must be awake and you must be logged in for it to shut down at the scheduled time. If you’re not logged in or if 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.