launchd plist seems to run continuously

I'm trying to set up a different wake/sleep schedule for weekdays versus the weekend. I'd like this plist to run at 5:30pm on Fridays. When I install this plist however, the pmset seems to run immediately, and continuously; if I try to change the settings via pmset or system preferences, they revert back to the settings in this plist. What am I doing wrong?? There is no output in the .log or .err files.

<pre>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC
"-//Apple Computer//DTD PLIST 1.0//EN" "
<a class="jive-link-external-small" href="http://www.apple.com/DTDs/PropertyList-1.0.dtd">http://www.apple.com/DTDs /PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.shodanproductions.WeekendSleepSchedule</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/pmset</string>
<string>repeat</string>
<string>wakeorpoweron</string>
<string>SU</string>
<string>12:00:00</string>
<string>sleep</string>
<string>SU</string>
<string>23:00:00</string>
</array>
<key>ServiceDescription</key>
<string>Wake up schedule for weekends</string>
<key>StartCalendarInterval</key>
<dict>
<key>Minute</key>
<integer>30</integer>
<key>Hour</key>
<integer>17</integer>
<key>Weekday</key>
<integer>5</integer>
</dict>
<key>StandardOutPath</key>
<string>/Users/nakor/Desktop/weekendsched.log</string>
<key>StandardErrorPath</key>
<string>/Users/nakor/Desktop/weekendsched.err</string>
</dict>
</plist>
</pre>

MacBook Pro 17" (Core Duo), Mac OS X (10.5.1)

Posted on Jan 16, 2009 5:26 PM

Reply
3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

launchd plist seems to run continuously

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