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

learn more… | top users | synonyms (2)

3
votes
0answers
52 views

Loading User LaunchAgent Successfully

I have created a Plist file to replace an Xinetd process that I used successfully in Windows (Cygwin) and Linux to stream an imapd connection from a remote server via ssh on a port on the localhost. ...
2
votes
0answers
25 views

launchctl gives permission error

I have a user named 'tv' (OS X 10.11.5) and I have these files in /Users/tv/Library/LaunchAgents/ # ls -lsa /Users/tv/Library/LaunchAgents/ total 16 0 drwxr-xr-x 4 tv staff 136 Jun 24 20:46 . 0 ...
2
votes
0answers
19 views

Do I really need a huge plist file to replicate this cron job?

I am looking to create a launchd job that will execute Monday through Friday at 7:32am, 8:32am, and 2pm. Do I really need a plist that has an array of 15 <dict> elements for every combination of ...
2
votes
0answers
176 views

customize system launchagent arguments in el capitan

Is there any way to work around the inability to customize launchagent plists in El Capitan without completely disabling system integrity protection? Specifically, I was sad to find that my ssh-...
2
votes
0answers
1k views

softwareupdated using 350MB+ of memory, is this a problem? How can I get it to use less?

I'm running Yosemite with the latest updates. softwareupdated is using approximately 380MB of memory. That seems quite high to me. Is that normal? Is that indicative of a problem? Does ...
2
votes
0answers
220 views

How launchd StartInterval behaves after long sleep?

I have a 21,600secs (4hours) job using launchd.plist. I have 2 mac, main and sub. With main mac, my plist works fine. But with sub mac, which is wakes up 3~4 times per week, my plist does not seems ...
2
votes
0answers
201 views

How daylight saving changes are handled in launchd to make sure it execute the the jobs as scheduled through plist?

Since August 2013, I am using Mac Mini with OS X version 10.8.2 as my web server (MAMP stack). I have a few launchd scheduled jobs scheduled through plist. Everything was working fine until Nov 3, ...
2
votes
0answers
1k views

How can I delay loading of a launchd Launch Daemon on boot?

I am running OS X Server 10.7.5 on a Mac Mini and I cannot get MacPorts’ Apache2 to start on boot. I have ensured that the Apple-supplied version of Apache is not launching and I have also ensured ...
2
votes
0answers
391 views

Filter launchctl standard err/out to add timestamp to log messages

I have a Launch Daemon running, happily logging to a couple of files specified using the Standard(Error|Out)Path entries in the property list file. Now, the problem is that the particular program ...
2
votes
0answers
432 views

Launch agents not lauching at system startup

I have several plist files in the folder ~/Library/LaunchAgents. They all have the same permissions but two of them (dotjs and pow) are not launching at login, even if they have the key RunAtLoad set ...
1
vote
0answers
74 views

What is “icdd” and why is it persistent?

I have a relatively older Macbook Air (late 2010). Memory usage is pretty tight on it, and I try to keep things as svelte as possible in that regards. Lately, I've noticed the process icdd is using ...
1
vote
0answers
38 views

Force Samba service to start before Apache

I'm trying to use a Apache-based application which depends on NFS and Samba shares to access files on a remote server (the application will then use WebDAV to access the files). I wanted to ...
1
vote
0answers
22 views

How should daemons tell users about errors?

I wrote a bash script that backs up certain files on my computer. To automate the running of the script, I set up an associated daemon that runs the script every day. There are certain instances ...
1
vote
0answers
11 views

Why the service does not start after logging in

The service is jenkins installed with homebrew on Yosemite. I have this: ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist and this: % launchctl list | grep jenkins - 0 homebrew.mxcl....
1
vote
0answers
26 views

“terminal-notifier.app is not open anymore”

From a .plist loaded to Launchd I run a bash script which displays a notification using terminal-notifier. The notification is displayed fine, but when clicked the message "terminal-notifier.app is ...
1
vote
0answers
751 views

Error executing AppleScript through Launchd - “Service could not initialize”

I've written an AppleScript that turns our CenturyLink modem's wireless radio on or off. It works when I run it manually with osascript, but now I'm trying to get it set up on a schedule with Launchd. ...
1
vote
0answers
63 views

Launchctl List - Screen Sharing Process Running While Disabled?

Below is my list of active processes as produced by the launchctl list command in terminal. I'm not messing with those processes, but I am studying them to learn more about how OS X works. The ...
1
vote
0answers
35 views

OS 10.10.5 launchctl job is not receiving input from socket

I tried following this clever guide by Sean Coates for setting up a remote pbcopy, but I'm running into trouble. I think it's because of the recent changes to launchctl after OS 10.10.5. He has me ...
1
vote
0answers
290 views

Set the WorkingDirectory to user's home in launchd?

I understand that you can change a LaunchAgent's working directory with a WorkingDirectory key, but is there any way to set the Working Directory to a user's home directory reliably and portably ...
1
vote
0answers
218 views

Automator and Launchd: OSStatus error -10810

I have a number of automator script scheduled in launchd. All the scripts work fine and execute the workflow as expected. These are simple workflows that execute some finder actions and shell ...
1
vote
0answers
213 views

Kernel panic related to DirtyJetsamMemoryLimit?

I've been having random crashes (freezes or kernel panics requiring hard reboots) but I can't seem to pin down the cause. Looking in Console.app on restart, the only common factor seems to be related ...
1
vote
0answers
233 views

Setup launchd task to run when USB device is connected

I'm hoping to setup a script to run automatically when a USB device is connected, however I'm not certain how to trigger it. Unfortunately the USB device isn't a volume, so I can't use the onmount ...
1
vote
0answers
140 views

launchd using 100% CPU for 20 seconds once per minute

I'm trying to track down a problem with launchd on OS X 10.9.5. Once every minute, launchd spikes to 100% cpu for about 20 second or so, then goes back to minimal cpu usage. So thats ~20 seconds at ...
1
vote
0answers
56 views

LaunchDaemons Starting Before IP Addresses Have Been Assigned

I’m working on an annoying problem with my Mac mini (running OS X 10.9). I have postfix and pfctl scheduled to load as system daemons using launchd, and they do so successfully. However, they do so ...
1
vote
0answers
729 views

How do I disable a launchd service I no longer have the plist for?

I delete an app that had some service running through launchd. Now launchd complains all the time in the console for not being able to launch the service: 19/02/15 08:50:28,589 com.apple.xpc.launchd[...
1
vote
0answers
252 views

Launchctl does not load service on boot

I installed mysql via homebrew in osX 10.10. It comes with plist file located in /usr/local/opt/mysql/homebrew.mxcl.mysql.plist. The contents: <?xml version="1.0" encoding="UTF-8"?> <!...
1
vote
0answers
301 views

Application will not launch after crash or force quit

I have an App (Transmission) which won't launch after it hangs and I force quit. It won't launch from the Dock or applications folder. A reboot will resolve the problem but I have another long ...
1
vote
0answers
588 views

Unable to Open /var/db/BootCaches/PreheatedUser/Merged.playlist

Running Mavericks and Disc Utility and fsck report no errors. Safe Boot reports Unable to open /var/db/BootCaches/PreheatedUser/Merged.playlist. Found a tutorial (or three) recommending to enter ...
1
vote
0answers
194 views

Restarting syslog causes it to no longer listen on domain socket

Standard syslog setup on Mavericks. 1. Before stopping and starting syslog: $ lsof | grep syslog launchd 1 root 6u unix 0xec11da089f2493d9 0t0 /private//var/run/...
1
vote
0answers
63 views

Run script (a la LaunchDaemon) before automatic app resume kicks in

I have an encrypted disk image that I use to store some sensitive data. It also includes a license key file for an application. Upon boot, I automatically mount this disk which restores the pre-...
1
vote
0answers
108 views

Adding comments to /etc/launchd.conf

Since I migrate to Maverick, I cannot add comments anymore to entries in /etc/launchd.conf, like: # setenv VAR VALUE Is there a new format for adding comments there ? When I restart launchctl with:...
1
vote
0answers
44 views

What happens if a launchd process starts again before finishing

I'm looking to create a backup script that uses rsync to move pictures, but I'm curious what would happen if the rsync process takes longer than the time between launchd triggers? Will it recognize ...
1
vote
0answers
282 views

launchd crowds syslog with error-messages

I'm running Mountain Lion 10.8.3 and have some problem with repeated error-messages crowding the /var/log/system.log file. Apr 19 15:15:14 pc49 com.apple.launchd[1]: * process 1 exceeded ...
1
vote
0answers
413 views

Where's launchd.conf gone in Mountain Lion?

Or is this page outdated? As man launchd.conf still shows the man file as before.
1
vote
0answers
288 views

Guide on removing unused Agents and Daemons to speed up MacOS

Can you point me to a good guide on spotting and getting rid of running Agents, Daemons and Processes that aren't useful to me anyway and are taking up memory and CPU cycles?
0
votes
0answers
34 views

tftpd not working - MAC OS X El Capitan 10.11.5

I use tftp in a daily basis, as part of my work. So far, so good, since yesterday (Jun 21, 2016) it simply did not worked anymore. I do not know exactly the reasons, because could not find any support ...
0
votes
0answers
13 views

Permission issue when installing a Mac Service

I have an installer for Mac OS X, which tries to install the program as a service. As usual during the installation process the user has to confirm their password, which allows the install. However, ...
0
votes
0answers
23 views

What is com.apple.serviceproxy?

I have 6 instances of httpd running, and they respawn after I kill them. I tried the solution provided on this answer , $ pgrep -fl foo 40679 bash /tmp/foo $ launchctl list|grep 40679 40679 - ...
0
votes
0answers
23 views

Disable Macbook Pro Mic

Is there any easy ways to disable the built-in mic? My requirements are Software based Do not need to run every time after login Keep the system integrity protection on Re-enable at needed I have ...
0
votes
0answers
23 views

Weird launchd behaviour, process still running after deleting launchd file and rebooting

I just don't get it! I had a launchd.plist file set up correctly to run transmission-daemon from /Library/LaunchDaemons/ folder, before any user login. Here is the file: <?xml version="1.0" ...
0
votes
0answers
9 views

Replicating Crons MAILTO email output with launchd / launchctl

It's annoying that launchctl has done away with the MAILTO function that was in CRON. I'm wondering is there any wrapper script like Cronic that can be used to restore the email output function? ...
0
votes
0answers
38 views

Open jnlp Java program with launchd

I'm trying to run a vendor provided jnlp app using launchd on a 10.10 Mac. I have a LaunchDaemon plist that opens a .sh script. This runs as root. This script has 2 main steps. Step 1 copies a csv ...
0
votes
0answers
134 views

How to get those errors out from my Console?

my mac is generating those errors at every 5 seconds. Running latest stable version of EL Capitan. Any idea? Any help would be useful. 15/03/16 09:24:50,065 xpcproxy[12275]: LaunchServices: ...
0
votes
0answers
74 views

Should I allow application “launchd” to accept incoming network connections?

I just bought a used MacBook running OS X El Capitan 10.11.3. I logged into the guest and it asked if I "should allow the application "launchd" to accept incoming network connections?" Should I ...
0
votes
0answers
34 views

launchctl list will show a service, but will not show detail

If I run "launchctl list", it shows a bunch of services. However, I can do "launchctl list SERVICENAME" on some services to show detail, but not on others: Eg: $launchctl list ... - 0 com.apple....
0
votes
0answers
28 views

Microsoft Word on OS X running executable hyperlinks from 'launchd'

I'd like to create a script that calculates statistics on all opened applications and what parent process has initiated them. I would expect that the ppid for each running process will represent the ...
0
votes
0answers
28 views

Taking focus on app launch

It seems that most OS X applications launch into the foreground and thereby steal keyboard focus from its predecessor there. Searching here, I have found way to prevent a particular app from doing ...
0
votes
0answers
47 views

Replaceing Folder Action Dispatcher with LaunchAgent on Yosemite

The fact that Yosemite's Folder Action Dispatcher (the thing that watches folders for changes and then performs some action) is broken (High CPU/mem) is well documented. However, what to do about it ...
0
votes
0answers
59 views

launchctl load daemon by multiple users?

In OS X 10.10.5, an admin user A launches a daemon: sudo launchctl load /Library/LaunchDaemons/org.user.script.plist An admin user B also wants to load this daemon. But it is not found by "sudo ...
0
votes
0answers
36 views

ASL_DISABLE=1 in syslogd.plist

While re-enabling UDP syslog messages after the latest update on my OS X server I noticed this environment variable is being set. Does anyone have any ideas about what it means exactly, besides what ...