I'm SMH about an issue with policies that are staying in the "pending" state even though they have successfully completed. This is troublesome because the policy in question is one that the execution frequency is set to "Once per Computer". I've flushed the policies for the machine. I've even run recon on the computer and still the same issue. I have a cloud instance of JSS with version 10.12.0. Anyone else having this issue?
Here is some context - The policy being run on 10.14 is using the "Execute a Command" field in the "Files and Processes" payload. The command being run is for running updates, then doing a restart:
softwareupdate -i -a; jamf policy -trigger restartComputer
The trigger "restartComputer" is also just a command payload running the following command:
shutdown -r now
Doing a recon, shows the computer was successfully updated by comparing the before and after inventory of the computer.
