A technical support community for Apple Logic Pro users.

 
ValliSoftware
Topic Author
Posts: 1158
Joined: Mon May 19, 2014 10:46 am

Prevent a hard drive from sleeping

Thu Jul 08, 2021 9:03 am

Once a hard drive goes to sleep, it'll take time to wake up and if you're using it with in Logic, that's when you'll get an error message stating this fact.

Now even though I set the Energy Saver settings as follows:
EnergySaverSettings.png
EnergySaverSettings.png (101.27 KiB) Viewed 2884 times


The external hard drive still goes to sleep.

So what I did was create a COMMAND file: (Notice the location of the COMMAND file)
CommandFile.png
CommandFile.png (167.97 KiB) Viewed 2884 times


Now when I run the COMMAND file on my external drive, it'll sleep for 60 seconds (you can adjust to your perference) then wake up, write the LS output to a TEXT file, then delete that TEXT file and go right back to sleep.

When you start the COMMAND file, don't close it, minimize it.
CommandFileRunning.png
CommandFileRunning.png (131.06 KiB) Viewed 2884 times


The reason I minimize but run in the foreground is so I can see if it's still running properly

So this is a simple way to prevent the hard drive from going to sleep. :mrgreen:
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.6 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.2) Rosetta 2 not installed
 
User avatar
fuzzfilth
Posts: 5080
Joined: Mon Aug 03, 2009 2:31 am
Location: Germany

Re: Prevent a hard drive from sleeping

Thu Jul 08, 2021 9:29 am

ValliSoftware wrote:
So this is a simple way to prevent the hard drive from going to sleep. :mrgreen:

Simple.


Right.


Why did I know before that you wouldn't just stop at the Energy Saver checkbox ?
Christian Obermaier
Contact me for private Logic Consulting, Training, Troubleshooting via Skype, Zoom or Teamviewer

1 x MacPro 6core 2010 24Gb RAM
2 x MacBookPro i7 2012 16Gb RAM
OSX.14.6. Mojave, Logic X.5.1
 
TyraNoah
Posts: 1
Joined: Fri Jul 23, 2021 5:09 am

Re: Prevent a hard drive from sleeping

Fri Jul 23, 2021 5:23 am

Never thought of this!
Already learning now. Thanks pal