Hello Flygirl1973
If it's a OS X Server.
these may not solve your problem directly but may
1- Make sure you have energy savings set correctly for both Power AND battery if it is a laptop,
2- Uncheck require password after screen saver in In System Preferences > Security And Privacy > General Tab
3- In System Preferences > Security And Privacy > General Tab
At the bottom left, unlock acces with admin password if needed
At the bottom right, clic the advances button
Make sure you have unchecked the "Logout after (n) minutes".
Now, according to other posts, OS X may not be speaking to the EFI, the part that loads when a computer is turned on an does a truckload of system check way before booting OS X.
You can alway "Zap the PRAM" at start.
Reboot, instantly hold Command+Option+P+R keys, it should reboot again, review all three settings listed up there.
This energy saver thing has shown to be problematic and 3rd party software can interfere with it.
Some command I never used but found a moment ago and you should search discussions for is PM Set. (power Manager Set.
In terminal:
pmset -g ups
pmset -g disk
will give you nerdy results about disk and screen sleep configurations.