Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've tried to create scripts that run at startup, login, logout and shutdown. We had them up and running with 10.4 but can't get it running with 10.6 What is the right way to use launchd/launchctl to run a script only at login, logout startup, or shutdown on OS X 10.6?

share|improve this question
Are you asking for all 4, or only for logout and shut down? – Daniel Beck Jan 25 '12 at 18:03
We need all four events but to differ between logout and shutdown are most essential for us. – RadMac Jan 26 '12 at 9:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.