Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use a cron job to prevent hard drive spindown' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a cron job to prevent hard drive spindown
Authored by: gaberohmann on Jul 03, '07 08:28:34AM

The following hint worked for me on a Maxtor Personal Storage 230gb. I found the following post on Ask Metafilter, and had to alter it with "" to make it work on 10.4.9 So far it is definitely is working to keep the External Hard Drive busy. I used Cronnix to set up the crontab, but you could just as easily do it in the Terminal.

I made a small text file called stayalive.txt in the root of the External drive, (you'll have to change it to match your location- mine is called 'storage'), then it copies it to a new file called stayinalive.txt

What it does is touches the file, then copies it to a new file once a minute. Easily keeps Hard Drive spinning!

CODE FOR CRONTAB:

* * * * * root touch "/Volumes/storage/stayalive.txt"; cp "/Volumes/storage/stayalive.txt" "/Volumes/storage/stayinalive.txt"

I'm so happy this worked!! :)



[ Reply to This | # ]