[launchd-dev] User agent modified file check for all users?

Nathan Duran launchd at khiltd.com
Tue Jan 29 12:14:03 PST 2008

On Jan 29, 2008, at 11:40 AM, Galen Sprague wrote:

> I had a question about creating a User Agent for multiple users in  
> Lingon.  Is there a way to set the When:Run it if this file is  
> modified as: ~/Library/Preferences/com.systempreferences.plist  
> instead of /Users/loggedInUser/LibraryPreferences/ 
> com.apple.systempreferences.plist? It doesn’t seem to recognize ~/ 
> Library
> This way my terminal command will run if any User’s  
> com.apple.systempreferences.plist is modified.

I can't really imagine this being possible. How is launchd supposed to  
know which user's directory the tilde should be expanded into at any  
given moment considering the fact that multiple users can be logged in  

More information about the launchd-dev mailing list