Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: launchd / launchctl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchd / launchctl




On Oct 26, 2007, at 5:03 AM, Adam Billyard wrote:

In setting up a non-user specific cron-type job, I felt the natural home would be /System/Library/LaunchAgents. ie get it run an startup, not at login time. However, a search of various online docs on this all seem to repeat the same error, namely referring to / System/Library/LaunchAgents as for per-user agents. eg:


First, you should never be dropping anything in /System. Either use / Library or ~/Library



~/Library/LaunchAgents Per-user agents provided by the user.
/Library/LaunchAgents Per-user agents provided by the administrator.
/Library/LaunchDaemons System wide daemons provided by the administrator.
/System/Library/LaunchAgents Mac OS X Per-user agents.
/System/Library/LaunchDaemons Mac OS X System wide daemons.


A quick check of /etc/rc shows /System/Library/LaunchAgents is never loaded and rather than edit /etc/rc I've ended up sticking my plists in /System/Library/LaunchDaemons which is kinda nasty..


From Dave Zarzycki on the launchd mailing list:

"LaunchAgents are busted in Tiger, but fixed in Leopard."
--
Edward R. Marczak
e: email@hidden
w: http://www.radiotope.com
b: http://www.radiotope.com/writing


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >launchd / launchctl (From: Adam Billyard <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.