launching per-user background agent 10.5 and higher
launching per-user background agent 10.5 and higher
- Subject: launching per-user background agent 10.5 and higher
- From: Rick Mann <email@hidden>
- Date: Thu, 5 Mar 2009 16:06:24 -0800
Sorry, added more info:
----
We need to run a background agent that manages some data on a regular
basis and displays a status item (menu bar item). We'd like to use the
latest-and-greatest APIs for keeping it running while a user is logged
in (including multiple users), but there seem to be issues with launchd.
In particular, a comment here (by Tom Harrington):
http://www.red-sweater.com/blog/245/taming-launchd
Suggests launchd won't reliably run user agents. Is this true in 10.5+?
"However launchd doesn’t quite clean things up normally on log-out.
The upshot is that if you log in, log out, and then back in, your
LaunchAgents entries will not start up on the second login (or any
subsequent logins)."
TIA,
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden