Tagged Questions

Sometimes I see a distnoted process suddenly spin up and chew up 100% CPU (on one core) and a ton of memory, often in the neighborhood of 1.5G or so. This happens a few times a day, starting a month ...

I'm trying to download the X-Plane 10 Demo through uTorrent, however I get a "too many open files" error all the time. I can do the alternate download (which takes forever and a day), but I wonder how ...

I hope to use launchd to set a static route on a server at boot time since I haven't figured a better way to configure this sort of networking on a server.
My problem is that the command seems to be ...

I have installed dnsmasq and now I want to be able to start it with launchctl. The problem is that every time I start the app launchctl starts an anonyous process instead of using the specified label.
...

I have several tasks that I run from launchd using StartCalendar interval.
Under Yosemite these do not necessarily run. (Under Mavericks and earlier they did run)
How do I see what launchd is doing ...

I have an application that opens when I login.
Is there a way to relaunch it automatically if it crashes or if I close it inadvertently?
(the application in question is Transmission if there is any ...

I am looking for a bash set of commands that will enable me to schedule the execution of /usr/libexec/locate.updatedb once every day.
Please respond only with a set of command line commands, because ...

I work as admin in a college environment. One of the challenges is to stop the services installed by students with CS major. Some time back they got the admin access and installed launch agents and ...

I'm using a launchd agent to run a shell script whenever I connect my thunderbolt dock. I've been able to use IOKit notifications to detect when the dock is being attached, but I also want to run a ...

I have the Require password 4 hours after sleep ... option in Security and Privacy System Preferences set and am running a script with launchd to suspend my session at a certain time of day (see this ...

I wrote a little script to automatically update my Network Location based on a couple of conditions, and have coupled that with a launchd plist to have it run every couple of minutes.
However, I've ...

Is there a way to get a user-defined launchd task (i.e. like the one in this question) to get user confirmation before executing the task? A popup like the one for scheduled sleep (with yes/no and a ...

I'm using this setup to be able to send mail from Terminal:
http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/
It works great, and I can use it in scripts. ...