Hi Folks,
I'm trying to find a way to update our extension attribute every 5 minutes, but only one specific, so i don't want to mess with the inventory collection.
I figured my best bet is to create a script that does the same as it does now for the EA, but instead of just doing a <results> echo, writing it directly using the API
I still need to redo my JAMF 400 since i found the whole API thing so confusing, but i think i have the idea down.
would this be effective/would you do it differently?
-credentials
-grab serial number from system profiler
-use serial to grab the computer ID using the API (so
-execute the script (in this case, it checks the IP for a specific interface)
-writes the value using the API by using the previously fetched ID (i think this should go via the computer then, not clear if there's a better way?)
as you might be able to tell, i kind of know what to do but still feel lost, tips/hints would be greatly appreciated.