how can we run this from a shell ?

41 views
Skip to first unread message

ossb...@gmail.com

unread,
Sep 27, 2017, 11:58:52 AM9/27/17
to Keep Drive Spinning
Hi, 

This installed on a MacPro that is working as a server, 

it doesn't seem to be very boot resistant.. and after a restart we have to drive to the site to restart the app.

from here i only have shell access, can I start this app from a command line ? 

Bob

Jon Stovell

unread,
Sep 27, 2017, 12:47:20 PM9/27/17
to Keep Drive Spinning
You don't need to keep the app running. The app itself merely configures a launch agent, and that launch agent does the actual work of keeping your drive awake. Launch agents do persist across reboots. For more information, I recommend that you review the included Read Me file. :)

But to answer your question, you could copy the plain AppleScript file that is included in the distribution package to any convenient location you like, and then run it from the shell using the osascript command. Again, though, you don't actually need to do this.
Reply all
Reply to author
Forward
0 new messages