More user agent questions
More user agent questions
- Subject: More user agent questions
- From: Rick Mann <email@hidden>
- Date: Thu, 5 Mar 2009 18:58:44 -0800
We can run on 10.5 or later (no need for pre-10.5).
Our app needs to run as a background user agent, both to support the
status item, and to periodically connect to our product that lives on
the network and sync with it. There is an app or Sys Prefs Pane to
provide the configuration UI.
We have several concerns. I'd appreciate any suggestions or
reassurance that launchd/launchctl can handle these things.
If multiple users are logged in, there will (possibly) be multiple
instances of the agent running. If not all users are currently logged
in, then some instances won't be running.
Our product (on the network) periodically updates its own software,
and that update may include a new version of the Mac software. When
the agent checks in and sees there's a new version, we'd like it to
update ASAP, transparently (no user intervention required).
Can any running instance (even if it's not for an admin user) shut
down and relaunch other instances? Can it update launchd configuration
as necessary for the other users?
If the UI is running, it will present a Sparkle-like dialog to warn
the user that a new version is available. It may time out after a
period of time and force the update. Basically, if our product updates
its software, it's important that the Mac software update as well,
otherwise things might break (we have no backward-compatibility
requirement).
How do people deal with their agents running when there are multiple
users logged in?
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