Need assistance troubleshooting / learning launchctl and plist
Solution 1:
Launchd writes errors to system.log. Using Console, I viewed the log. There, launchd told me that it did not like my User
key value. I removed the User - jaredclemence key-value pair, and loaded the plist again. It then told me the batch program did not exist and I then noticed the error in the file path. /User
should be /Users
By removing the User setting and correcting the file path, I was able to fix the problem. Now, running ps -ef | grep 'runMed'
, I am able to see that the batch file is currently executing.
SUCCESS!