OT: launchd question

Terry Barnum terry at dop.com
Wed Mar 24 10:49:22 PDT 2010

I hope the OT is okay. I thought folks on this list might know the answer. I'm trying to move some crontab entries to launchd and having some trouble. Is a "|" not allowed in launchd?

In cron I can do something like "/opt/local/bin/somescript | /opt/local/bin/anotherscript | /usr/bin/mail -s "script output" user at example.com" but launchd complains saying, "Unknown option: |".

How do you mimic this behavior in launchd? Encapsulate the whole line in a shell script and have launchd call that instead?

Thanks for any info. Please reply off-list.


Terry Barnum
digital OutPost

// w.s.

More information about the macports-users mailing list