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

learn more… | top users | synonyms (2)

5
votes
1answer
117 views
+50

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 ...
2
votes
0answers
17 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 ...
0
votes
0answers
8 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? ...
1
vote
1answer
29 views

OS X Server: Open Directory PasswordService crashes

I'm running an OS X 10.9 Server (it's a Mac Mini) that is providing a few services (iCal, VPN, file sharing, etc.) to a small group of Local Network Users. After we installed a security update today, ...
3
votes
1answer
46 views

Is it possible to run a script every 24 hours on MacBook Pro even in sleep?

I want to run a script every 24 hours, that scrapes a website and fetches data, save it to my local MySQL database, and push its DB to my remote Heroku or IBM Bluemix MySQL server (or ClearDB). I did ...
0
votes
1answer
49 views

Editing com.apple.atrun.plist on El Capitan

I am running El Capitan on several computers and would like to be able to use at to run scheduled jobs in the background. Enabling at requires editing ...
3
votes
1answer
31 views

Using postgres with launchd without constant issues

I have postgres and passenger installed from homebrew, and use the os x built in apache. I have several rails apps that use postgres which are managed by passenger which in turn is managed by apache. ...
0
votes
0answers
28 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 ...
1
vote
1answer
39 views

mysql fails to load on boot

I have a Macbook. Forever I’ve had mysql server installed and running on start (using El Capitan). Well now I’ve installed Wine. Since then mysql server fails to start on reboot. If I manually run ...
0
votes
0answers
86 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
56 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 ...
1
vote
1answer
94 views

Error while trying to create an account in single user mode on OS X Mavericks

On OS X Mavericks, I am trying to create an account using single user mode, using the following script. #! /bin/bash # create user dscl . -create /Users/hiddenuser dscl . -create /Users/hiddenuser ...
0
votes
0answers
20 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 ...
0
votes
1answer
28 views

OS X: Schedule Launchctl to quit application at certain time

I have created this launchctl .plist for opening an application at a specific time every day – or the next time the computer wakes from sleep. <?xml version="1.0" encoding="UTF-8"?> ...
1
vote
1answer
38 views

Script of mysqldump didn't work correct invoked by launchctl in OS X

Here is my question asked on StackExchange 2 days ago. http://stackoverflow.com/q/35839190/4772652 Someone suggested me to ask here. Could anyone give me a hand to solve this? ============ I had ...
1
vote
1answer
48 views

Run a command on a schedule and verify that it has run

I want to run an rsync command each day or more often to back up a raspbery pi on my network to a drive attached to my mac. I see launchd, but I'm very confused about how to get it to work, and I ...
3
votes
1answer
136 views

How to stop OS X from trying to run TeamViewer every 10 seconds

I recently happened to look at my system.log file and noticed the following messages over and over: Mar 4 12:09:32 ix com.apple.xpc.launchd[1] (com.teamviewer.teamviewer[11506]): Service could ...
3
votes
1answer
159 views

How to modify a Launch Daemon permanently under OS X El Capitan?

I modified the default org.postfix.master.plist of postfix to run as a daemon, so it can send me e-mail whenever a local user receives a mail. Default: <?xml version="1.0" encoding="UTF-8"?> ...
3
votes
1answer
121 views

Launchd script to mount volume on boot

I have a script monta.sh to mount an external volume: #!bin/sh mkdir -p /Volumes/remvol mount_smbfs //user:password@server/folder /Volumes/remvol Then I have a com.jo.monta.plist to launch the ...
2
votes
1answer
71 views

10.11.3 - launchd to start a job either at startup or at time of day

I am attempting to use launchd to have SelfControl be active from 8am to 8pm. My first attempt was to just use launchd and have a little bash script which starts self control (for 12 hours) at 8am, ...
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
27 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
1answer
40 views

How do I reload an OS X “bash” user-environment

I think that I want to ask How do I reload an OS X bash user-environment But damnit Jim ; I'm a software engineer not a sysadmin The Goal I want Jenkins started as a Daemon on El Capitan I want ...
6
votes
1answer
123 views

How do I use non-“legacy” launchctl commands to load and unload plists?

I have some plist files in ~/Library/LaunchAgents. I have been happily using launchctl load -w and launchctl unload -w to turn these on and off for years. However, I notice that now load and unload ...
2
votes
1answer
93 views

How to run a command at startup

I want to automatically start my MongoDB Server at startup. The command for it is mongod --dbpath="/Users/prateek/Desktop/Mongo Database" How do I configure this in Mac OSX El Capitan? Note - I ...
1
vote
2answers
73 views

Is it possible to evaluate an expression in launchd's ProgramArguments array?

Is it possible to compose my launchd.plist file so that an embedded expression is evaluated and not treated as a literal value? And, if so, how? I have a ~/Library/LaunchAgents/setenv.JAVA_HOME.plist ...
0
votes
1answer
58 views

Why won't my LaunchDaemon start?

I'm attempting to write my first LaunchDaemon: I think it's pretty simple and meets all the requirements, but it won't run. The file is at /Library/LaunchDaemons/com.noah.supertest.plist Ideally, it ...
0
votes
1answer
32 views

Max file limit conundrum

Following this article I've adjusted my open file limits: $ launchctl limit maxfiles 65536 65536 The trouble with this is that when I try to open Adobe applications I get ...
0
votes
0answers
38 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
1answer
39 views

com.dashlane.DashlaneAgent still trying to be loaded

I have removed Dashlane using the documented procedure, yet launchd is still trying to load com.dashlane.DashlaneAgent. I have tried issuing sudo launchctl remove com.dashlane.DashlaneAgent with no ...
0
votes
0answers
49 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 ...
1
vote
1answer
295 views

Manage login items from terminal in 10.11 El Capitan

Previously, % launchctl submit -l label -- command args was the way to go. This does not work in 10.11.2, I'm fairly sure it was working in 10.10.x, but cannot be certain. The likely-looking ...
0
votes
0answers
30 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 ...
1
vote
1answer
45 views

Application tries to launch although it is deinstalled

In my console a message is occurring every 10 seconds. I think it's trying to launch a deinstalled application (NetDrive2): 18.12.15 23:55:40,047 com.apple.xpc.launchd[1]: ...
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 ...
3
votes
0answers
51 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. ...
0
votes
0answers
23 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
1answer
59 views

Why might I get a “Service cannot initialize” error in my console when a plist file is run?

I have set up a plist file and loaded/started it with launchd. Whenever it is time for the script to run, I receive the following error in my console: 12/9/15 12:53:19.344 PM ...
0
votes
0answers
40 views

Unable to set $PATH with EnvironmentVariables in launchd service

I want to set $PATH for a launchd service with EnvironmentVariables key. But it does work, the $PATH is unchanged whatever I set. However, I can set other environment var successfully with ...
0
votes
0answers
43 views

launchctl does not set environment variables correctly

I am trying to use launchctl to set the environment variables for Eclipse. What I want to do is pass my PATH to eclipse. I have tried to setup launchctl to do this. Here is the the output of ...
2
votes
3answers
105 views

Configure launchd

I have a launchd plist in ~/Library/LaunchAgents designed to run a script located at ~/writout.sh every day at 10:30AM: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC ...
4
votes
2answers
162 views

What is “ss_conn_service ” running on OS X?

I'm using OS X El Capitan on iMac 21.5". As an experienced user, I follow activity monitor sometimes for security of my device. For 2-3 days,"ss_conn_service" is running on my device. I cannot ...
0
votes
0answers
25 views

How to see all services available for launching with launchctl?

I tried this on Yosemite: launchctl list but it doesn't show e.g. postfix which I have just launched with: launchctl kickstart system/org.postfix.master Is there any way of listing all the ...
0
votes
2answers
50 views

Why do many processes use the letter “d” at the end of the process name? [closed]

Just recently started getting into OS X/iOS development and noticed several files have a "d" at the end. I.e launchd, accountsd, cloudd, assistantd, etc.. Not all have it just some. Just a quirky ...
1
vote
1answer
54 views

Launch a sh program at startup attached to a terminal window

How is it possible to load (with terminal attached window) sh program at OSx startup ? I see a lot of article on launchctl but it's obviously not possible to open a terminal windows attached to the ...
1
vote
1answer
25 views

Prevent OS X from powering off, via CLI

I use maid to run a few maintenance scripts regularly, via launchd. The time I chose for those tasks to run makes it very likely that I won’t suddenly decide to turn off my computer around then, but ...
1
vote
1answer
533 views

How to start auto start mysql? Getting “Path had bad ownership/permissions”

How can I auto start mysqld I tried following http://stackoverflow.com/q/26476391/631619 but it didn't help It seems like I have a ownership/permission problem, possibly related to from having ...
1
vote
2answers
64 views

launchctl starts my plist job much later than StartCalendarInterval

I recently tried to switch to launched on my Mac Mini (10.7.5) from cron on a PC. I searched and think I have things set up right, but it seems that the scheduled script starts significantly after the ...
2
votes
2answers
406 views

How to run iPython Notebook as a service

What would be the best "standard" way to create a launchd script to run python notebook? I would like the service to start at login and an easy to start-stop-restart the server from a terminal.
2
votes
0answers
155 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 ...