[launchd-dev] Cross-job coalescing

Jeremy Reichman jaharmi at jaharmi.com
Tue Dec 4 19:55:18 PST 2007


I haven't found a way to do this after looking over the docs (but not the
new TechNote) ... I am wondering if there is a way to have two or more
launchd tasks that call the same script coalesce into the same event during
events like wake from sleep.

For example, what if the same script is called by both a nightly job, and a
weekly job? Are the various instances of the jobs that would have run
automatically then coalesced into one instance if their scheduled execution
is missed?

Or, if not, is there a way to have some other cross-job identifier that is
shared by multiple launchd jobs so that the same target script is not run
more than once?

TIA.


-- 
Jeremy




More information about the launchd-dev mailing list