[X-Unix] How make launchd stop trying to launch nonexistent program?

Jerry Krinock jerry at ieee.org
Fri Apr 18 23:00:23 PDT 2008


On 2008 Apr, 17, at 8:29, James Bucanek wrote:

> For the record, the correct way of removing a .plist is use  
> 'launchctl unload <path/to/.plist>'.
>
> If you still have the .plist you can probably stop the job using  
> 'launchctl remove <joblabel>' (look in the .plist file to find the  
> <label> property). If you don't, just restart the system.

I know I tried subcommands 'remove' and 'stop' yesterday, and neither  
work.  I tried 'unload' today with the -w option and it worked.

sudo launchctl unload -w /path/to/.plist

Thanks, all.

Jerry




More information about the X-Unix mailing list