Greetings,
I'm trying to run a policy from Jamf Pro Cloud in which the policy will either fire off a unix command and send it to the background and not wait for a response so Jamf can finish executing the rest of the policy.
- I tried using the Execute Command under Files and Processes by adding an & at the end of it.
- I tried making a script in Jamf Pro then adding it to the policy, and in the shell scrip using the & at the end of the command.
- I tried putting the same shell script on the target computer, and having the Execute Command fire it off with an ""&"".
In all cases Jamf waits for a result and will not finish the policy which means that after a reboot, the policy runs again and again since it never realizes it previously succeeded.
Any insight would be greatly appreciated. Thank you.
Sincerely,
-Andrew
......................................................
Andrew W. Johnson
Sr. Macintosh Systems Administrator
DoIT / Computing Services
Stony Brook University