launchdはYosemiteのStartCalendarIntervalを無視しているようです
launchdに合わせてHomebrewを更新しようとしました。私のplistファイルはここにあります: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>ms.liu.homebrew.update</string> <key>UserName</key> <string>LiuMS</string> <key>ProcessType</key> <string>Background</string> <key>EnvironmentVariables</key> <key>ProgramArguments</key> <array> <string>/usr/local/bin/brew</string> <string>update</string> </array> <key>StartCalendarInterval</key> <dict> <key>Hour</key> <integer>20</integer> <key>Minute</key> <integer>0</integer> </dict> <key>StandardOutPath</key> <string>/usr/local/logs/ms.liu.homebrew.update.out</string> <key>StandardErrorPath</key> <string>/usr/local/logs/ms.liu.homebrew.update.err</string> </dict> </plist> それは何とか機能します:私はlaunchctl start ms.liu.homebrew.update自分のHomebrewを更新するために手動で実行できます。ただし、launchdはこのサービスを定期的に実行しません。stdoutがリダイレクトするファイルへの最後の変更は2日前です。 このサービスに関する情報を取得しようとしましたが、何も得られませんでした。 > launchctl print user/%MyPID%/ms.liu.homebrew.update`` Could not find …