Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

launchd schedule not followed

Hi there


I have the following launchd plist document in my ~/Library/LaunchAgents directory:


<?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>org.jenal.picture_backup</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/marcus/bin/enterprise_pictures_rsync.sh</string>
    </array>
    <key>StartCalendarInterval</key>
              <dict>
                  <key>Minute</key>
                  <integer>30</integer>
                  <key>Hour</key>
                  <integer>11</integer>
                  <key>Day</key>
                  <integer>1</integer>
              </dict>
          <key>KeepAlive</key>
          <dict>
              <key>SuccessfulExit</key>
              <false/>
          </dict>
          <key>StandardOutPath</key>
          <string>/Users/marcus/tmp/rlog</string>
          <key>StandardErrorPath</key>
          <string>/Users/marcus/tmp/rlog</string>
</dict>
</plist>


If I understand the syntax correctly, this script should only run on Mondays at 11.30am. What happens, however, is that it runs at every login. How can I stop it from doing that and stick to the defined schedule?


Thanks!

iMac (21.5-inch Mid 2011), OS X Mountain Lion (10.8.2)

Posted on Jan 24, 2013 6:32 AM

Reply

There are no replies.

launchd schedule not followed

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.