How to schedule your Mac to restart
You might not realize it, but there are benefits to restarting your Mac regularly. The longer you let your Mac run, the more files are opened and left that way. Eventually, you’ll start to notice that even the latest Mac slows down or behaves badly. Fortunately, it’s pretty easy to put your Mac on a restart program.
Start in energy saving settings
To get started, you will need to open System Preferences. You can do this by clicking on the gear icon in the Dock or in Applications. You can also click on the Apple logo in the upper left corner of your screen and then choose System Preferences.
Near the bottom of System Preferences, click on Energy saving.
If you are planning to restart your MacBook, MacBook Air, or MacBook Pro, you will probably want to activate Energy nap. If your laptop is closed, it will likely be in sleep mode and not restart. Besides, any Mac that can be asleep during your chosen restart time should have Energy nap alight.
Light up Energy nap allows your Mac to periodically “wake up” for tasks such as backing up to Time Machine and checking for new email, calendars, and other iCloud updates.
Energy nap also allows the Energy saving settings to restart your Mac, even when it’s in sleep mode.
Plan to restart your Mac
Now you can click on calendar. You’ll see that macOS lets you schedule specific times to start, shut down, sleep, or wake your Mac from sleep mode. We want to set a restart time. Click the second checkbox, and if the drop-down menu next to it doesn’t already say restart, click it and choose restart. Now set the day and time you want your Mac to restart.
After clicking apply, you are good to go. From then on, your Mac will automatically restart every week or according to the schedule you set.