Hello.
For a special workflow I need to update an attribute of the jamfsoftware database's 'computers' table directly using the mysql command. This works without any error, but the membership of a smart computer group will not update according to the changed attribute. How can I trigger to update the membership of a smart computer group from 'outside' the JSS?
Example:
The smart computer group has the criteria: asset_tag is 1
Now I change the asset_tag of an computer object to 1 using the mysql command, but the computer will not become member of the smart computer group unless I 'save' the smart computer group again using the JSS web front end.
One possible solution is to set the attribute 'asset_tag' using the API. This is possible, but it is very complicated, because the Casper Suite runs on a Windows Server and so I has to install curl or use a power shell script.
Maybe there is a better way to trigger the JSS to update the membership of a smart computer group.
Info: Casper Suite 8.52 running on Windows Server 2008 R2
Thanks
Felix