[launchd-dev] automatic job removal

John Maisey john at nhoj.co.uk
Thu Jun 26 15:43:43 PDT 2008


On 26 Jun 2008, at 22:47, Hamish Allan wrote:

> On Thu, Jun 26, 2008 at 8:26 PM, John Maisey <john at nhoj.co.uk> wrote:
>
>> Can you suggest a better solution?
>
> Instead of your launchd agent trying to open an application on the
> user's system, it could call an executable installed in
> ~/Library/Application Support/YourApp which would open the application
> if it exists, and remove itself and the launchd agent if not.
>
> Hamish

Thanks for this Hamish. It sounds like it would do the trick.

Best wishes

John



More information about the launchd-dev mailing list