On Fri, Oct 07, 2005 at 06:49:21PM -0400, Daniel Johnson wrote:

<SNIP>

> Another note, which I haven't seen reported anywhere, is that  
> starting with 10.4.2 launchd now has anacron-like abilities built-in.  
> From "man launchd.plist":
> 
>   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.
> 
>   StartCalendarInterval <dictionary of integers>
>      This optional key causes the job to be started every calendar
>      interval as specified. Missing arguments are considered to be
>      wildcard. The semantics are much like crontab(5).  Unlike cron
>      which skips job invocations when the computer is asleep, launchd
>      will start the job the next time the com- puter wakes up.  If
>      multiple intervals transpire before the computer is woken, those
>      events will be coalesced into one event upon wake from sleep.
> 
> So anacron is now redundant. I no longer use anacron for anything,  
> but just rely on launchd to take care of things.

That's really cool; thanks for pointing that out.

Do you know whether the StartCalendarInterval setting works if the
computer is off at the scheduled time, as opposed to asleep?

Richard


-------------------------------------------------------
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