das Problem ist das Passwort, das du jedesmal eingeben musst, aber es geht mit AppleScript

Show Plain Text
  1. do shell script "launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist" password "•••••••••" with administrator privileges
  2. do shell script "launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist" password "•••••••••" with administrator privileges


••••••••• durch das Adminpasswort ersetzen und dann in Calendar.app ein wiederkehrendes Ereignis erstellen, das dieses Script aufruft
----------
Gruss

Stefan