Set Mac mini to be constantly on and logged in I've got a Mac mini that I would like to run headless; leaving plugged in to network and power only.

I want to leave the Mac mini on to:


Run Dropbox constantly, so that I have the local copy backed up to the Mac mini.
Run a cloud backup service so that my Dropbox data is backed up again.


The hurdles I see with doing so are:


If there is a power cut, I want to make sure that the machine reboots and logs back in so that tasks 1. &amp; 2. above can run. This can be partially achieved by powering the Mac mini via a UPS, although if the power cut was long enough the UPS would also fail.
Knowing if the systems fail, so that I can fix them. I wouldn't want the systems to fail and me not know for 6 months.


Are there some specific settings I should be looking at in macOS to enable me to leave it running constantly carrying out tasks 1. &amp; 2. above?
There are a few built-in settings in macOS and a 3rd party app that you should be looking at:


Under System Preferences → Energy Saver → Power Adapter, enable Restart after power failure.
Turn on automatic login by going to System Preferences → Users &amp; Groups → Login Options → Automatic Login and select your preferred user account.
You may also wish to install and run a helper app that can prevent your Mac mini from sleeping automatically. I'd recommend installing KeepingYouAwake.


Enabling number 1. above will ensure that your computer boots automatically after a power failure. This will ensure that the computer boots automatically after the power is restored.

Number 2. will automatically log into your preferred user account after a restart, thus requiring no user intervention to start things up.

Number 3. will ensure your computer never goes to sleep mode. You can configure the app to startup automatically upon system start.

Doing above three should ideally take care of your requirement. You have to make sure that no unauthorized personnel is able to access your computer physically.