OT: launchd question

LuKreme kremels at kreme.com
Wed Mar 24 11:22:01 PDT 2010


On 24-Mar-2010, at 11:49, Terry Barnum wrote:
> 
> 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: |".

Are you quoting the line? Have you tried quoting the line? How about using backticks?

I usually just write a shell scrip to call as that makes it easier to make changes, so I'm not sure.

-- 
Sarah, age 18, says "man, once you go crayola you can't go back."



More information about the macports-users mailing list