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


Click here to return to the 'Avoid Western Digital external drives' built-in spin down' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid Western Digital external drives' built-in spin down
Authored by: irc on Mar 18, '09 08:55:57PM

I'm fairly new to the Mac world, but I thought an advantage was BSD under the hood. In this case: why use launchd and add yet another app to your machine to control access to it when you can just add a cron job that calls your bash script every 5 minutes? That's my Linux mind solving the run-it-periodically problem.

I ask because maybe I'm missing something Mac-cool here. Like cron is heavyweight on system resources and launchd is some super-light thing.

Or is it just a personal preference choice?



[ Reply to This | # ]
Avoid Western Digital external drives' built-in spin down
Authored by: BiL Castine on Mar 19, '09 04:16:16AM

Launchd is Apple's replacement for cron in 10.5, and is always running.



[ Reply to This | # ]
Avoid Western Digital external drives' built-in spin down
Authored by: bedouin on Mar 19, '09 01:22:23PM

What's bullshit is that Apple disabled user crontabs in 10.5. Well, sort of.

If you're a user and type crontab you'll be able to set one up, but it will be dead the next time you reboot, even though it still shows up in the crontab.

The only crontab that sticks after reboot is root's. Launchd is a lot of work for what takes one line with cron, and I don't care what it's awesome benefits are.



[ Reply to This | # ]