您即将离开知乎,请注意您的帐号和财产安全。
https://apple.stackexchange.com/questions/27036/possible-to-run-scripts-on-sleep-and-wake