According to your requirements, you may want to prevent Mac from sleeping.
However, you may dont know how to do this if you have never done this before.
On the other hand, you could also know some other Mac sleeping options.

Like Windows, a Mac computer can also go to sleep mode as per the options on the machine.
Mac sleep mode is controlled by the Energy Saver feature on your Mac.
If you want to prevent Mac from sleeping, you better access Entergy Saver to modify the setting.

Now, we will show you how to stop Mac from sleeping using Energy Saver?
Click theApple iconon the desktop and then selectSystem Preferences.
you’ve got the option to also use Spotlight search to search for system preferences and open it.

Move the slider forTurn display off aftertoNever.
How to prevent Mac from going to sleep if you are using a laptop?
you might switch to theBatterysection in Energy Saver and you might see the same slider as in Power Adapter.
![]()
Does your box go to sleep when you leave for a few minutes?
This post shows you how to stop computer from sleeping in Windows 10/8/7.
How to Schedule the Sleeping Time on Your Mac?

Click theSchedulebutton at the bottom-right corner.
Check bothStart up or wakeandSleepon the pop-up small window.
On the second line, you’re gonna wanna verify that theSleepoption is selected.

- pick the wake-up time and sleep time according to your needs.
ClickOKto save the changes.
These prefs will not influence the data on your Mac.
![]()
it’s possible for you to feel free to use them.
If your hard disk turns off after you configure the Turn off hard disk after setting in Power Options.
This post will help prevent it from sleeping.