I have a launchd job that is running every two minutes, but it is not on the
sudo launchctl list.
I was changing the plist file, both the name of the file, and the Label key. I didn't unload it before hand but loaded the newly named file. Maybe that is what caused this but I'd still expect it in the list.
But it is never on the
sudo launchctl list list. I checked
cron as good measure too.
I've checked the other users. I see the script that the launchd job runs every two minutes when I do
ps aux. Is there a way I can use
ps aux to see which launchd process spawned it?
What else can I do to stop this thing? Restarting the server has to be a last resort, as would restarting launchd but if that's the only option that's the only option.
There's this question too, but no one answered it: https://apple.stackexchange.com/questions/240550/weird-launchd-behaviour-process-still-running-after-deleting-launchd-file-and-r