On Oct 9, 2005, at 11:13 AM, Dave Vasilevsky wrote:


On Oct 7, 2005, at 6:49 PM, Daniel Johnson wrote:

     StartInterval <integer>
[snip]
     StartCalendarInterval <dictionary of integers>


I heard that this feature of launchd didn't actually work consistently. Have you verified that it works? I'd just like to know for sure before relying on it.


I am not sure if it is working, I don't get any log files in /var/ log, but I don't know if the script is set up for that. As an example, I put this file in~/Library/LaunchDaemons:

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.apple.periodic-daily</string>
    <key>LowPriorityIO</key>
    <true/>
    <key>Nice</key>
    <integer>1</integer>
    <key>OnDemand</key>
    <false/>
    <key>Program</key>
    <string>/usr/sbin/periodic</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/periodic</string>
        <string>daily</string>
    </array>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Hour</key>
        <integer>3</integer>
        <key>Minute</key>
        <integer>15</integer>
    </dict>
</dict>
</plist>


cheers,

- Koen.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to