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

learn more… | top users | synonyms (2)

0
votes
1answer
418 views

OS X El Capitan & Android Studio 1.4

Has anyone else noticed the following with Android Studio 1.4 running on OS X El Capitan? I can't remember the exact point when I lost the ability to build an Android app from the IDE due to the fact ...
0
votes
0answers
25 views

Check to see if program is running. If not, wait half hour and then start it again with parameters

I am asking specifically about selfControl. I am trying to ween myself off of a couple of websites, but would like to access them intermittently, but throw myself off again (I am weak man.) I know ...
1
vote
0answers
638 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. ...
0
votes
0answers
10 views

How can I have a LaunchDaemon script use the current logged in users Kerberos ticket

I have a LaunchDaemon that runs as root for security purposes but the script needs to authenticate w/ a URL as the currently logged in user. LaunchDaemons run in their own context so doing a kinit ...
1
vote
1answer
213 views

launchctl doesn't start cntlm daemon

I've installed cntlm on osx using the homebrew formula. Then I've copied the .plist file and started the daemon: sudo cp -fv /usr/local/opt/cntlm/*.plist /Library/LaunchDaemons sudo chown root ...
9
votes
2answers
3k views

/System/Library/LaunchAgents is locked in El Capitan

I'm trying to achieve this: Make my password protected SSH key expire or timeout after a while In Yosemite, this worked fantastic, in El Capitan, using sudo, the files in /System/Libary/LaunchAgents ...
0
votes
1answer
2k views

How to run script on startup and shutdown OS X El Capitan

Actually I want to make a RAM drive related to this script on my Mac. Here is what I did: Disabled SIP in recovery mode using command "csrutil" Created a plist file in /Library/LaunchDaemons/ ...
3
votes
3answers
230 views

Restoring Yosemite server after unloading launch daemons

So, while trying to fix a corrupt open directory I came across a fix that said to enter this command... sudo launchctl unload -w /System/Library/LaunchDaemons/ org.openldap.slapd.plist From the ...
0
votes
0answers
324 views

How can I stop callservicesd errors I find in Console?

I posted this to some other forum and found no luck. I'm learning Terminal, coding, and scripting. Every so often I check my Console just to see what's up. (Often I don't understand it all, but it's ...
0
votes
1answer
47 views

nrpe (icinga) client service doesn't load/run

I just wrote following .plist file, which I put into /System/Library/LaunchDaemons, unluckily loading/running doesn't seem to work, and I have no idea what's wrong: <!DOCTYPE plist PUBLIC ...
0
votes
0answers
22 views

LaunchEvent for Screen Unlock

I'm looking to run a script whenever a user unlocks the deskop -- think resuming after screensaver or after locking with ctrl+shift+eject, not user login . My instinct is that there's a LaunchEvent I ...
4
votes
1answer
5k views

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 ...
0
votes
0answers
113 views

Launchd Applescript Timeout Error

On Yosemite 10.10.5, I have an Apples Script application that runs and completes as desired under 2 of 3 conditions. The application is set to launch, by launchd plist 3 times per day at 7:05am, ...
1
vote
0answers
59 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
33 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
1answer
196 views

How to run AppleScript (.scpt) as LaucnDaemon by root

I have an AppleScript or set of Applescripts that I am trying to run as a LaunchDaemon. I have no problem running the LaunchDaemon with my user. The problem comes in where I have the need to read a ...
1
vote
1answer
187 views

OS X Server leaves some unwanted open ports after removal

I am currently running OS X Version 10.9.5 (Mavericks). In the past I installed OS X server and had to sign some certificates so that users could authenticate with the VPN function (which is what I ...
0
votes
2answers
127 views

Logging for SSHD when started from Launchd with `-d` option?

I'm working on OS X 10.8.5, fully patched. I have an updated OpenSSH server installed in /usr/local/sbin listening on port 1522. Connection attempts result in ssh_exchange_identification: Connection ...
1
vote
1answer
45 views

Permanently disable Apple's OpenSSH?

I have an older OS X 10.5 PowerMac (PowerPC) that needs to be online for testing software under the processor. It needs to be online because others want to use it for testing, too. I've updated ...
1
vote
1answer
394 views

launchd disk writes

Using activity monitor, I've noticed that launchd with pid 1 is using a lot of disk writes: after about 8 hours of light use, it's done ~2GB bytes written. Is it normal behavior? If not, how shall I ...
0
votes
0answers
221 views

Path not allowed in target domain, and ASL module X claims selected messages

I'm troubleshooting a fairly new MacBook Air that periodically refuses to let the user log into it (spinning beach ball at the login screen, sometimes restarted lets her log in, usually works fine if ...
0
votes
0answers
131 views

Does man launchd.plist OnDemand and KeepAlive give incorrect infos?

as I understood from the following Apple's guide Creating Launch Daemons and Agents, OS X's daemons managed by launchd are by default launched on-demand, therefore when there is an incoming request to ...
2
votes
1answer
110 views

Applescript exits with error when run via launchd

I have an applescript running beautifully in Script Editor as well as from an osascript command at the Terminal. The script talks to the Reminders.app in order to pass iCloud reminder entries to a few ...
2
votes
2answers
2k views

Background processes periodically eat up my CPU time on OS X 10.10.4, Yosemite

Periodically the CPU on my iMac Mid-2015 running OS X 10.10.4, gets used almost exclusively by: launchd: ~70% fseventsd: 12% UserEventAgent: ~40% opendirectoryd: 20% notifyd: 12% I have tried ...
0
votes
0answers
148 views

OpenVPN causes loss of WAN connection after returning from sleep

I'm trying to use OpenVPN to have a constant VPN connection on my 10.10.4 install. Currently I've setup OpenVPN via homebrew and as stated put an openvpn.conf in /etc/openvpn as the default profile ...
4
votes
1answer
1k views

Can I unload com.apple.mrt via launchd or otherwise remedy these errors?

I just realized that the job com.apple.mrt crashes every 10 seconds on my Mac. What exactly is the aim of com.apple.mrt? Apparently it should be a "Malware Removal Tool". Can I remove it from ...
0
votes
0answers
181 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 ...
0
votes
0answers
26 views

Wi-Fi stops working when I launch OpenVPN server

I have an OpenVPN server running on my device. I downloaded OpenVPN from homebrew and it has a plist to load with launchctl. However, if I try launching the server with launchctl start ...
0
votes
1answer
233 views

Running Postgres as Launch Daemon

I am working on setting up a psql server and would therefore like postgres to run whenever the computer is on, regardless of whether I'm logged it. (The machine is running OS X Yosemite.) I set up a ...
0
votes
0answers
198 views

Stealthy Mac, Disabling network services on OS X (Non-Server)

I have written a bash script to harden OS X Security and be as stealthy as possible. The script: Disable bonjour Start firewall and block all non-essentials incoming traffic Enable Stealth Mode to ...
0
votes
1answer
93 views

How to re-span a cron-like launchd script in case of script error?

I have a cron-like launchd script (StartCalendarInterval) that does a backup of some website data once per day: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
0
votes
0answers
51 views

launchagent logs warning/error into console

I have a launch agent that I created several years ago to set a random signature both in a .signature and in Mail.app. It does nothing complicated and has hummed along through several OS X versions. ...
0
votes
1answer
204 views

launchctl error “nothing found to load” when run via cron

On OS X 10.9, I'm running a script (e.g., ~/bin/run.sh) via my user crontab (added using crontab -e). This script, under some specific conditions (not related to this question), will run the following ...
1
vote
1answer
160 views

Can't get launchd task to run

I've done this once and I'm trying to do it on a new computer and I can't see what I'm doing wrong. I have a ruby script in my user folder named forecast.rb. I have set it to executable (a+x). It ...
1
vote
1answer
415 views

Remove .plist from /LaunchAgents

Before I go to the issue, I did find a similar thread, but it's quite outdated and I'm not sure if it suits for me. Around two years ago when I got my Mac, I decided to install Seagate Media Sync for ...
0
votes
0answers
647 views

rsync error: connection unexpectedly closed

I'm trying to backup some folders on an ubuntu server to an external G-Drive, connected through thunderbolt to my iMac, in this manner: $ time nohup sh -c 'rsync -avz myuser@myserver:/home/user/ ...
1
vote
2answers
90 views

Why does my LaunchAgent return ROOT as the user?

I have a plist in the /Library/LaunchAgent folder (this should run as "logged in user", if I understand correctly but it seems to be running as root). It launches a .sh bash script. <?xml ...
0
votes
0answers
39 views

App Name not Displayed Correctly

I've created an AppleScript, saved it as an app and run it by launchd. For an undetermined reason, the app's name in Preferences > Security & Privacy > Privacy is displayed with a long string of ...
1
vote
0answers
193 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 ...
2
votes
1answer
267 views

Why is my BASH script being executed twice? I'm using launchd

I have one plist associated with this launchd agent. There is one agent listed in launchctl list, and it calls my bash script, called rc.wakeup, whenever the mac is woken up from sleep. There is only ...
1
vote
0answers
201 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 ...
2
votes
1answer
606 views

How do I find the root cause of launchd crashing?

UPDATED: Added crash log. It's not clear (to me) why launchd is dying: Anonymous UUID: B3C59CC3-5B1B-3BDD-F35F-BB6973D6679B Thu Jul 30 07:55:30 2015 *** Panic Report *** panic(cpu 0 caller ...
1
vote
2answers
119 views

How to periodically show alert message *in foreground*?

I want to have an alert / dialog box to fire up periodically in foreground. I tried a combination of AppleScript and launchd and managed to have the script (actually converted to a app) fired up ...
0
votes
1answer
107 views

How to create automatic launchd job that sets the Ruby version to use

I’d like to run a ruby script automatically once or twice a day on my MacBook running OS X Yosemite. Problem is that I currently have three versions of Ruby on my system including 1.8.7 and 2.2.1, ...
2
votes
2answers
106 views

Can launchd be made to set a different owner on files it creates while executing a .plist job?

I have a launchctl .plist file in /Library/LaunchDaemons as follows: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ...
0
votes
0answers
38 views

Looking for org.macports.smartd.plist from macport's smartmontools

I compiled smartmontools myself, and it is working flawlessly. What I miss is a LaunchDaemon script to run smartd in the background. When you install smartmontools via. macports, you will get a ...
0
votes
1answer
222 views

Settings for CalendarAgent, Mingler and iCalExternalSync services

I have the dreaded issue with recurring sync service processes wreaking havoc on my MacBook Pro with O S X 10.9 Mavericks and stealing my CPU cycles for no apparent good reason. Usually with a 3 month ...
0
votes
0answers
203 views

New stats file created every 20 seconds in /var/log/com.apple.launchd.peruser.94?

My machine consumes all CPU for one or two hours processing some systemstats. So far I work around that by regularly cleaning the huge amount of data in /private/var/db/systemstats/ Now I noticed, ...
1
vote
2answers
304 views

Automated screensaver configuration in command line/shell script

So I'm configuring some Default User Template LaunchAgents to configure a default screensaver for some of my company's most popular fan art. (It's actually been really well received by the team). ...
0
votes
0answers
43 views

launchd fails loading storagekitd

I do observe the following com.apple.xpc.launchd[1]: (com.apple.storagekitd) Service only ran for 2 seconds. Pushing respawn out by 8 seconds. What is storagekitd? How can I find out who's trying ...