Can someone make...Anti-Spindown Widget/Program/whatever

Discussion in 'Mac Programming' started by northernmunky, May 11, 2008.

  1. northernmunky macrumors 6502a

    northernmunky

    Joined:
    Jan 19, 2007
    Location:
    London, Taipei
    #1
    I use several WD MyBook hard drives for my editing projects.... great drives with just one hassle.. they keep spinning down after 10minutes and theres no way to turn it off and naturally I always need to access it at the 10minutes and 5 seconds mark.

    Looking around I can only see some scripts to solve the problem but with the absence of programming skills I'm calling upon someone who could perhaps write one eh? Maybe as a widget or something? How hard can it be?

    Can anyone turn something like this into an app?
    http://www.macosxhints.com/article.php?story=20011024160033481
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Energy Saver system preference. Untick "Put the hard drives to sleep whenever possible". Does that work?
     
  3. northernmunky thread starter macrumors 6502a

    northernmunky

    Joined:
    Jan 19, 2007
    Location:
    London, Taipei
    #3
    No, the drive is external and independent of the OS
     
  4. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    If it was independent of the OS it wouldn't work :).
     
  5. italiano40 macrumors 65816

    italiano40

    Joined:
    Oct 7, 2007
    Location:
    NY
    #5
  6. Windsor Smith macrumors newbie

    Joined:
    Mar 31, 2008
    Location:
    Hayward, California, U.S.A.
    #6
    I had the same problem with the internal Hitachi Deskstar disks in my Power Mac G5, and unchecking "Put the hard disk(s) to sleep when possible" didn't work for me either. Eventually I learned that some hard disk drives have an internal setting that causes them to spin down independently of anything the OS tells them to do. Many years ago you could use utilities like FWB Hard Disk Toolkit to change those internal settings, but I haven't found anything that works on today's drives -- at least not for Mac OS X.

    By shear coincidence, I started experimenting with Mac software development (using Cocoa) just a few days ago, and "Hard Disk Caffeine" is already near the top of my list of possible projects. (I'm a software engineer and system administrator with extensive experience in C/Unix, but not much with Cocoa yet.) I'll research it a little more and let y'all know if I'm able to give this function a suitable GUI. Meanwhile, I'll continue to monitor this thread, so please post a note if you find that someone has already come up with another solution that you like better than the 'cron' approach.

    Speaking of the 'cron' approach, you might want know that the 'cronoff' command mentioned at http://www.macosxhints.com/article.php?story=20011024160033481 will remove all of the user's 'crontab' entries, not just the 'Activate' entry. Chances are, most people won't have anything else in their 'crontab' anyway, but as a general solution it's a bit sloppy.
     
  7. northernmunky thread starter macrumors 6502a

    northernmunky

    Joined:
    Jan 19, 2007
    Location:
    London, Taipei
    #7
    Brilliant, I think there's a need for it... I like this hard drive but I'm worried the stress that's being put on it by continuously spinning up and down all the time is going to shorten its life. I'll try this 'cron' thing but I'm very weary about running code on my laptop when I don't really know what its doing which is why I've been looking for an app that's already been written to do the job.
     
  8. northernmunky thread starter macrumors 6502a

    northernmunky

    Joined:
    Jan 19, 2007
    Location:
    London, Taipei
    #8

Share This Page