launchd ignores RunAtLoad=false
After having successfully set up a backup job with rsync that is launched with a launchd script, there is only one thing that remains:
launchd runs my script every time it is loaded, i.e. at every startup, instead of just at the specified day and time. I know that the RunAtLoad key default is false, but I still added it to thest whether it helped, but it has not.
What could be the problem?
Here is my launchd plist file (which I located in /Library/LaunchAgents/)
<?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.docs_backup</string>
<key>ProgramArguments</key>
<array>
<string>/Users/marcus/bin/enterprise_docs_rsync.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>11</integer>
<key>Minute</key>
<integer>30</integer>
<key>Weekday</key>
<integer>5</integer>
</dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>StandardOutPath</key>
<string>/Users/marcus/tmp/launchd_pix.out</string>
<key>StandardErrorPath</key>
<string>/Users/marcus/tmp/launchd_pix.err</string>
</dict>
</plist>
Appreciate any help with that!
iMac (21.5-inch Mid 2011), OS X Mountain Lion (10.8.2)