如何禁止日历代理在 Mac OS X Lion 上运行?

cwd*_*cwd 8 mac calendar.app calendar osx-mountain-lion macos

我想是因为日历应用程序集成到 OS X 系统和通知区域的更新方式,“日历代理”需要在 OS X ML 的后台不断运行。

当我在系统上调试 HTTP(s) 请求时,我看到它发出了很多请求。如果我这样做,请求就会停止killall CalendarAgent

如何防止日历代理在后台运行?

PS:我也尝试从通知区域中删除日历而没有运气:

小智 18

你可以这样试试:

launchctl unload /System/Library/LaunchAgents/com.apple.CalendarAgent.plist
Run Code Online (Sandbox Code Playgroud)

如果你想让它永久化:

launchctl unload -w /System/Library/LaunchAgents/com.apple.CalendarAgent.plist
Run Code Online (Sandbox Code Playgroud)

希望能帮助到你!