Script to restart HW on server reboot
8-24-20
Operating system: macOS
Customer runs on Mac server, Catalina.


Customer already has a script to automatically restart server if/when it goes down.

Has anyone written a script they can share with me to get HW to be run on such a restart? I assume this needs to start Terminal, then be fed the change directory and application commands.

I'm looking at launchd, but it's hard to work out. I'm also wondering whether I can use Automator.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Andis Blicāns, Grasko
Thank You for answer. In this case I used SSLNoCertificateValidation = true; SendWebRequest SSLNoCertificateValidation = false; ...
23:01 24 Mar 2026
Gatis Jansons
Hi, Paul. Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...
14:53 19 Mar 2026