Need help exporting JSS inventory reports to a file share

NealIV
Contributor

I would like to have a scheduled export of one of my inventory reports from the JSS as a .csv file to a file share. I have the report and I know how to to a manual export but I am not sure how to go about scheduling a weekly export of the same data as a .csv file to a file share on the network. Any help would be appreciated.

Thanks

1 REPLY 1

mm2270
Legendary Contributor III

Well, there isn't really a way to do this, at least not without some serious MySQL querying or major scripting. May want to vote up this old Feature Request.
https://jamfnation.jamfsoftware.com/featureRequest.html?id=411
its a bit disappointing this has not moved from Under Review yet. I've been waiting for this capability in the product for so long now, I won't even know what to do with myself if JAMF eventually adds it in.

I had looked into possibly scripting this, but its not so easy. You can actually pull a saved inventory search via the JSS API, but the format its in makes it a bit tricky to work with to get into an actual csv or tsv file. I have a feeling a more advanced scripting language would be needed to do it.