[launchd-dev] Documentation Suggestion

Levi Brown levi at grokers.net
Tue Mar 4 15:28:06 PST 2008


On Mar 4, 2008, at 15:46, Geoff Franks wrote:

> On 3/4/08 5:36 PM, "Levi Brown" <levi at grokers.net> wrote:
>
>> Hello all,
>>
>> Reading the man entry for launchd.plist I read this:
>>
>> StartInterval <integer>
>>     This optional key causes the job to be started every N seconds.
>> If the
>>     system is asleep, the job will be started the next time the
>> computer
>>     wakes up.  If multiple intervals transpire before the computer is
>> woken,
>>     those events will be coalesced into one event upon wake from  
>> sleep.
>>
>> Which, if I may suggest so, could be improved to be less ambiguous.
>> Specifically, this does not tell the reader if the job will be  
>> started
>> every N seconds, if it is already running or not.  Through
>> experimentation I was able to discover that if the job is presently
>> running when the interval expires, no new job will be initiated, and
>> no queuing effect will occur either.  This happens to be the  
>> behavior /
>> I/ wanted for my purposes, but the documentation is not clear on this
>> matter and there is no mention of a way to allow spawning of multiple
>> jobs should the intervals overlap, etc.
>>
>
> I second this. I was trying to find the answer to this and ended up  
> testing
> it myself, after scouring the net and list archives with no answers.
>
> Geoff Franks
> Sr. Systems Administrator
> Hauptman Woodward Institute

Hi Geoff,

I've filed a ticket against this, if you'd like to comment within the  
ticket system:

Ticket URL: <http://trac.macosforge.org/projects/launchd/ticket/4>

Cheers,

Levi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/launchd-dev/attachments/20080304/3b578abf/attachment.bin 


More information about the launchd-dev mailing list