launched.motd_updater.plist

Edit · Copy to clipboard · View raw · Download

<?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>launched.motd_updater</string>
    <key>ProgramArguments</key>
    <array>
      <string>sh</string>
      <string>-c</string>
      <string>/usr/local/motd_updater.sh</string>
    </array>
    <key>StartCalendarInterval</key>
    <array>
      <dict>
        <key>Hour</key>
        <integer>8</integer>
      </dict>
    </array>
  </dict>
</plist>

To install: curl https://launched.zerowidth.com/plists/f4774c00-702e-0138-55ba-0d326bcef2a0/install | sh Copy to clipboard · View install script

To install manually:

mkdir -p ~/Library/LaunchAgents
curl -o ~/Library/LaunchAgents/launched.motd_updater.plist https://launched.zerowidth.com/plists/f4774c00-702e-0138-55ba-0d326bcef2a0.xml
launchctl load -w ~/Library/LaunchAgents/launched.motd_updater.plist

Or, to install as root:

curl -o ~/Downloads/launched.motd_updater.plist https://launched.zerowidth.com/plists/f4774c00-702e-0138-55ba-0d326bcef2a0.xml
sudo cp ~/Downloads/launched.motd_updater.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/launched.motd_updater.plist