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

I've created a .plist with a StartCalendarInterval key for a program that must run once a day. It works, and I'm satisfied. I've also created a python script that reads a config file and will re-run launchctl and reload that plist with a different value of the start time if the time of day specified in the config file is changed. That works too. My problem is that somehow an old value of the start time has been preserved somewhere in the system. If the system reboots and I don't re-run that python script, the start time defaults back to the old value. I want the start time to default to the most recently specified value. I've tried every value of the -w and -F flags I can think of to launchctl, but nothing over rides that old stored value. Can anyone tell me where that old value is being stored and how to over-ride it? Thanks.

share|improve this question
Have you tried to unload the .plist before loading the new value? – Seth Noble Mar 28 '12 at 21:49
Yes - the python script explicitly unloads the .plist. I've also tried using the "remove" command, which uses the program name rather than the plist file. That didn't work either. – W. R. Wing Mar 29 '12 at 13:24

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.