Thank you for supplying the Etrecheck Report.
The large number to system modification will come into play and maybe the source of the issue under discussion. The Application installed to manage the Shutdown process seems to be the possible source of the issue ?
Added - are the two External Drive still attached when the Automatic Shutdown is invoked ?
Once may want to review what has enable in the Sharing Applet of System Preferences.
System modifications - There are a large number of system modifications running in the background.
disk2 - WD easystore 2648 2.00 TB
disk3 - WD easystore 2647 5.00 TB
Sharing enabled - This computer has sharing services enabled that could be a security risk.
Unsigned Files:
Launchd: /Library/LaunchAgents/com.maintain.LogOut.plist
Executable: /usr/bin/osascript -e 'delay 3' -e try -e 'do shell script "killall Cocktail"' -e 'end try' -e 'ignoring application responses' -e try -e 'tell application "System Events" to log out' -e 'end try' -e 'end ignoring'
Details: Exact match found in the legitimate list - probably OK
Launchd: /Library/LaunchAgents/com.maintain.Sleep.plist
Executable: /usr/bin/osascript -e 'delay 3' -e try -e 'do shell script "killall Cocktail"' -e 'end try' -e 'ignoring application responses' -e try -e 'tell application "System Events" to sleep' -e 'end try' -e 'end ignoring'
Details: Exact match found in the legitimate list - probably OK
Launchd: /Library/LaunchAgents/com.maintain.ShutDown.plist
Executable: /usr/bin/osascript -e 'delay 3' -e try -e 'do shell script "killall Cocktail"' -e 'end try' -e 'ignoring application responses' -e try -e 'tell application "System Events" to shut down' -e 'end try' -e 'end ignoring'
Details: Exact match found in the legitimate list - probably OK
Launchd: /Library/LaunchAgents/com.maintain.Restart.plist
Executable: /usr/bin/osascript -e 'delay 3' -e try -e 'do shell script "killall Cocktail"' -e 'end try' -e 'ignoring application responses' -e try -e 'tell application "System Events" to restart' -e 'end try' -e 'end ignoring'
Details: Exact match found in the legitimate list - probably OK
Login Item: ~/Jobs/PanX/ServerMonitor.pandb
Kernel Extensions:
/Applications/Parallels Desktop.app
Sharing enabled - This computer has sharing services enabled that could be a security risk