Stop a runaway launchd process on OS X Leopard

12,596

Have you tried to run the following?

launchctl list  
launchctl stop *label*
Share:
12,596
CaseyIT
Author by

CaseyIT

Updated on September 17, 2022

Comments

  • CaseyIT
    CaseyIT over 1 year

    I created a launchd .plist file to in order to have a python script run every hour. I ended up editing and later deleting the .plist file ( in /Library/LaunchDaemons )... but somehow launchd is still trying to run the script.. The file that the original .plist was calling is also no longer present ( it was in /usr/bin ).. Now every 10 seconds launchd is still attempting to run the script, fails, and respawns...

    I tried fixing this with Lingon.... to no avail.. Is there a way to kill this process for good? I tried logging out and restarting as well...

    Machine is running 10.5.8

  • CaseyIT
    CaseyIT about 14 years
    I did, and finally doing a < sudo launchctl remove label > Killed it for good
  • Christopher Pecoraro
    Christopher Pecoraro almost 7 years
    didn't work for me. launchd keeps respawning, I've disabled and stopped and removed and it keeps restarting...