• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
launching per-user background agent 10.5 and higher
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: launching per-user background agent 10.5 and higher
  • Next by Date: Re: launching per-user background agent 10.5 and higher
  • Previous by thread: Re: launching per-user background agent 10.5 and higher
  • Next by thread: More user agent questions
  • Index(es):
    • Date
    • Thread