Closed fraserhess closed 7 years ago
This is expected behavior as the server command needs root.
I think you should catch that it's not running as root and either error, don't try to send an alert or indicate that alert won't be sent.
This is fixed with the latest version of Cacher (not currently published).
I get this error at the end of the script when it tries to create an alert. 2015-06-29 11:28:53.107 server[76024:507] Error Domain=AlertsDaemon Code=150 "Error: Insufficient entitlements." UserInfo=0x7ff268d01c60 {NSLocalizedDescription=Error: Insufficient entitlements.}