-
All replies
-
Helpful answers
-
May 17, 2013 3:19 PM in response to gio.ale.driveby gio.ale.drive,Anyone may help??
Thank you very much!
-
May 18, 2013 10:30 AM in response to gio.ale.driveby BDAqua,Hello Alessandro,
Is this in Server or client?
-
May 19, 2013 11:54 AM in response to BDAquaby gio.ale.drive,Hello BDAqua,
thank you for your response.
The question is about the client version of Mountain Lion.
During last day I've tried to search a solution with launchd without success.
Alessandro.
-
-
May 19, 2013 12:25 PM in response to baltwoby gio.ale.drive,Hello baltwo,
I've read these article yesterday but the first one is about the LoginHook that Apple, in the second article, says that are deprecated.
The second article say to use launchd instead LoginHook and LogoutHook.
I've tried to do this but launchd works (I think...) only to launch a login script with the option RunAtLoad.
Nothing is specified with regard to the logout script.
PS.
Launchd with login script work only with restart but not with a shutdown and a power-on ... I'm investigating this behavior!!
I'm sorry for my poor english.
-
May 19, 2013 12:38 PM in response to gio.ale.driveby baltwo,Ah! The proverbial missing information. Although deprecated, they should still work, but I don't run any, so can't test. See launchd jobs for info on that procedure. Alternatively, do a google search for launchd jobs site:developer.apple.com which should give you more sources to check.