I am looking ultimately to launch an application for every user that logs into a Mac. I tried running a script and the policy log shows it ran with an exit code of 0.
#!/bin/bash
open -a /Applications/myapp.app
exit 0
I can make that script on the client device and execute it and it works. Any ideas as to what I am missing?