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

learn more… | top users | synonyms

1
vote
0answers
13 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 ...
0
votes
0answers
26 views

In Mountain Lion why do remote shells via ssh do NOT inherit the environment of the launchd parent process?

When logging in to my Mountain Lion Mac remotely via ssh I do not get the same PATH variable as when I open a shell locally: The local shell inherits its environment as expected from launchd and ...
5
votes
2answers
432 views

How to mount a RAM disk on startup?

I'm trying to mount a RAM disk on startup with this: /Users/Aram/Development/Tools/ramdisk.sh diskutil erasevolume HFS+ "RamDisk" `hdiutil attach -nomount ram://800000` com.aram.ramdisk.plist ...
1
vote
1answer
90 views

what's the meaning of the output of this command - could compare to yours?

I accidentally issued the following command: # launchctl load -w /System/Library/LaunchDaemons/ I wish to see outputs of mac os x mountain lion launchd% list command. See below on pastie the current ...
1
vote
1answer
374 views

How can I write to Notification Center from a launchd command?

I've got a plist set to run at a set interval, and have put it in /Library/LaunchDaemons like so: /Library/LaunchDaemons $ ll macports_update_notifier.plist lrwxr-xr-x 1 root wheel 55B 5 Sep ...
1
vote
1answer
339 views

Get current StartInterval status from Launchd

If a launchd job has a StartInterval of 600 and it's been "some time" since the plist was loaded. How can one determine how much time remains until the next scheduled run?
2
votes
1answer
55 views

How can root launch a regular Mac application from a cron job in /etc/crontab?

I want the cronjob to do some things as the superuser, and depending on the result, launch an app as me, the logged-in user. I've tried a bunch of things but nothing I think should work does. ...
-1
votes
0answers
14 views

stopping LaunchAgent when uninstalling package [closed]

I build an app which provides LaunchAgent (an small UI app with "tray" icon; let's say that defined in /Library/LaunchAgents/foo.plist. When installing package launchctl loads this LaunchAgent ...
0
votes
0answers
20 views

Is it possible to control specific behaviors of a launch daemon (system) on os x?

Is it possible to control specific behaviors of a launch daemon (system) on os x? For example: spotlight daemon (com.apple.spotlight.*) controls what do to when a spot light search is made. -How ...
0
votes
0answers
31 views

Automating Python with launchd & permissions

I setup a Python script to run automatically using launchd (via a .plist) I wanted this particular script to always run, whether a user was logged in or not, so I put the .plist that "launches" it ...
2
votes
2answers
56 views

Running Growl without a user logged into a graphical session?

I currently have an OS X server (running 10.8.2) that has irssi installed, and is set up to send Growl notifications to my laptop when I am mentioned or have received a private message on IRC. ...
8
votes
3answers
328 views

How do I automatically kill processes that leak memory?

I have problems with processes that leak memory. They cause my hard drive to be filled with swap files in /private/var/vm. I would like leaking processes to be killed at sight by the OS. I’m not ...
2
votes
5answers
696 views

Run bash script at login stored in the home folder?

When I try to load a LaunchAgent plist from launchctl I can't find out how to run a script in the home directory. My code is: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC ...
1
vote
1answer
89 views

Plist in /System/Library/LaunchAgents not loading on reboot

I have created the plist and placed it in /System/Library/LaunchAgents/. However, when I reboot my Mac it does not load like it is expected to. I am able to load it from the Terminal with launchctl ...
1
vote
3answers
440 views

To to disable a service form OS X by using recovery console?

I cannot boot my system anymore and I want to disable a service from loading and the only way to do this by using the terminal window from the recovery mode. launchctl is not available in the ...

1 2 3 4 5 7
15 30 50 per page