Proof that I am an idiot!
With my recent SMB solution, I am finding that late in the day if a share has been disconnected, that reconnecting seems to only be possible upon a restart. A logout/login won't cut it.
So…delete the launchdaemon for my daily logout (using Lingon) and use Onyx to schedule a shutdown/startup.
Only, I didn't realize that Onyx would halt if there were connected users - which there are because all my Macs connect to my MacPro.
I found a shutdown command that will force a shutdown even if there are connected users and used Lingon to schedule it (while Onyx does the startup).
Only, there's a checkbox in Lingon for 'Run on startup and save'. Well, I wanted the command to run when I saved the launchdaemon. Wanted to make sure it worked.
But yeah, the 'ON STARTUP' part quickly became evident!!!!!
I said to myself, I wonder if I'm going to be in a startup/shutdown loop when I restart the Mac.
Uh…yeah! Because you told it to execute a SHUTDOWN ON STARTUP!!!!!!!
Ensue facepalm!
High Sierra MBA to the rescue. Pull drive, connect to adapter, delete launchdaemon using the MBA. Replace drive, boot back up (fingers were crossed on that one), use Lingon to save the command as a launchdaemon again, BUT THIS TIME WITHOUT CHECKING THE BOX!!!!!!
There are days were I AM that idiot person I mock!!!!