Submitted by ultrabob on Fri, 11/13/2015 - 13:49
I wrote a shell script to run on my mac, rsync (over ssh with key-based authentication) over a bunch of content, check that the content that came over is a recent copy, and then do various things based on the new data. When I ran the script on my own it executed perfectly, but when I ran it scheduled through launchd it failed. Even more puzzling was that triggering it to run directly via launchd through LaunchControl would cause it to run correctly.