Questions tagged [launchd]

A system for starting, stopping, and managing automated processes.

741 questions
121
votes
14 answers

runaway distnoted process

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 or so ago. The command line is /usr/sbin/distnoted…
ryan
  • 1,448
  • 2
  • 10
  • 17
92
votes
5 answers

How to disable Adobe Core Sync app on OS X from being launched automatically?

I have noticed a lot of Adobe processes are running in the background at start up on an OS X 10.11.4 (15E65) machine with Adobe Creative Cloud (CC) installed. To get rid of this, I removed everything with "*adobe*" in the filename from the…
Jens Wirth
  • 973
  • 1
  • 7
  • 9
70
votes
1 answer

How to show all running launchctl daemons/agents?

When I run: sudo launchctl bslist ... it shows all the running /System daemons, but I have some running from /Library/LaunchDaemons and it is not showing those. How can I show them all?
dmgig
  • 803
  • 1
  • 6
  • 8
57
votes
2 answers

Launchctl difference between load and start, unload and stop

I was reading through the launchctl man page and have a few questions about its functioning: What is the difference between load and start, unload and stop? Where do I find the job label for a daemon, is it in the plist file?
Jason Rubenstein
  • 571
  • 1
  • 4
  • 3
54
votes
5 answers

Why am I getting a "dubious ownership of file" error when Launch Agent runs my .plist file?

I have a Launch Agent configured to run a .plist file for example: /Library/LaunchAgent/foo.plist. Inside this .plist, it is set to run during LoginWindow and Aqua. When I attempt to launch my computer and get to the login screen, this plist should…
Senseful
  • 23,371
  • 78
  • 181
  • 281
39
votes
6 answers

Disable citrix receiver startup on login

I have installed citrix receiver on my home macbook. It auto starts on login yet it does not show an entry in the Login Items tab under the Users and Groups pane of System Preferences. How can I disable the service from starting on login?
cheezsteak
  • 1,005
  • 2
  • 9
  • 14
38
votes
1 answer

What is the difference between a `service-name` and a `service-target`?

Consider the following commands # launchctl stop Usage: launchctl stop # launchctl stop com.apple.SomeService # launchctl disable com.apple.SomeService Usage: launchctl disable What is the difference between a…
cheezsteak
  • 1,005
  • 2
  • 9
  • 14
35
votes
4 answers

Stopping LaunchAgents and Daemons

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 daemons on some systems.The students have also…
Prashant
  • 699
  • 1
  • 7
  • 11
33
votes
6 answers

How do I remove or disable AdobeIPCBroker?

A new unstable resource-draining Adobe process that has recently appeared on my Mac is proving more difficult to hunt down and kill than the numerous other processes that Adobe creates. Generally following instructions here and elsewhere to disable…
orome
  • 11,304
  • 61
  • 137
  • 246
30
votes
1 answer

What are the differences between LaunchAgents and LaunchDaemons?

On macOS 10.12.5, I only see LaunchAgents in the Users Library directory. Are the agents only invoked if a user is logged…
MmmHmm
  • 2,661
  • 4
  • 26
  • 49
29
votes
2 answers

What is coreduetd?

Since Yosemite and in every later operating system OS X/macOS runs coreduetd from /usr/libexec/coreduetd with the bundle-id com.apple.coreduetd.osx in the background. What exactly is this process doing? On which hardware does this run (i.e.: is its…
LаngLаngС
  • 8,023
  • 10
  • 38
  • 89
27
votes
4 answers

Why is cron being deprecated?

I just found out that cron has been deprecated in Mac OS X. Why is this, and will it eventually be completely removed from future releases?
eckza
  • 961
  • 1
  • 11
  • 12
25
votes
1 answer

Using tmux and pbpaste, pbcopy, and launchctl

I have discovered that tmux breaks pbpaste, pbcopy and launchctl. Is there a good way to make it play nice with these tools?
docwhat
  • 750
  • 7
  • 10
25
votes
2 answers

Getting launchd to read program arguments correctly

I have a launchd script where the command I'm trying to run is erroring (apparently that's not a word, it is now), complaining of improper usage. The specific error I'm getting is the command's usage text dumped to the system log. From this I infer…
Woodgie
  • 263
  • 1
  • 3
  • 7
24
votes
2 answers

launchtl: any way to disable a daemon after removing the plist file?

I was trying to permanently disable a 3rd party daemon, so I deleted its plist file from /Library/LaunchDaemons-- and then I realized that I hadn't done a launchctl unload on it first; trying after the fact yields "No such file or directory/nothing…
jhfrontz
  • 741
  • 1
  • 10
  • 28
1
2 3
49 50