VERY simple Launchd plist not running my script

前端 未结 3 1593
Happy的楠姐
Happy的楠姐 2020-12-23 18:16

I\'m trying to figure out why my launchd script is not working. It is extremely simple, but I am new to the mac environment and trying to get accustomed. Here\'s my plist. I

3条回答
  •  猫巷女王i
    2020-12-23 18:23

    Although I imagine most people will not have this problem, I figure it is worth putting here since I spent nearly two hours trying to figure out why launchd load was not working despite returning a 0 exit code.

    The problem was simple. My plist file had the wrong file extension (I had "plst"), and launchctl was silently refusing to load the file. Changing the extension to plist resolved the issue.

提交回复
热议问题