This Mac mini is intended to run as a kiosk, but a daily sleep/wake cycle is proving problematic with some USB devices.
My plan was to use the "dirty" shutdown from the commands line to simulate a UPS shutdown: sudo shutdown -hu now
.
The process is to enable the "Start automatically after a power failure" option in Energy Saver prefs, then to execute the dirty shutdown from the command line, and finally, remove power once the power light goes out, but before the 5 minute timeout.
Tests on other minis have been successful, but this 2018 3.6 i3 Mac Mini is not consistently starting up once you supply power. This morning it started automatically when I plugged it into the mains. But later in the day, additional tests did not result in power being enabled without physically pressing the power button.
Running Mojave 10.14.6. Reset PRAM/NVRAM. pmset -g
shows autorestart
set to 1. The Mac WILL restart when I forcibly cut power to it.
Please note I do NOT have a UPS connected to the system.
What could be causing the inconsistent behaviour?