|
|
launchd vs. cron
Firstly, I would actually not particularly recommend cron, simply because that crontab will run whether or not you're logged in. Not that it makes a big difference in practice, of course, but it's just cleaner not to run stuff that you know will fail sometimes.
That said, I vastly prefer cron to launchd. Can I ask what you feel makes launchd is "much more powerful"? than cron? Yes, launchd has some features that cron does not have, like setting niceness or IO priority. But do you know why those features are not in cron? THEY DON'T BELONG THERE. We already have separate tools to control these things. Why should they be built into a scheduling tool? This is part of the Unix philosophy, which Apple just does not "get". Cron is stable, simple, well-understood, ubiquitous, and documented by an open standard. Launchd is a big hairball that's none of those things.
launchd vs. cron
wouldn't a users's crontab only be run when they are logged in?
launchd vs. cron
wouldn't a users's crontab only be run when they are logged in?Nope, cron runs crontabs whether or not corresponding users are logged in. If you want "only run if logged in" behavior for specific cron tasks they'd have to somehow check the login status (e.g. using a wrapper script). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|