What do you think is the best way to trigger an install of cached packages (i.e. ones in the "JAMF/Waiting Room" directory)?
My first solution was to create a policy that installed cached packages on startup. I would like to do something that gives the user more feedback as this method has caused performance issues for larger installs. A variation of the @lisacherie script described in https://jamfnation.jamfsoftware.com/discussion.html?id=5404 fits the bill, but would require detecting if there are ready items in the Waiting Room directory.
Obviously, a non-zero return of `ls /Library/Application Support/JAMF/Waiting Room/` would be some kind of solution, but is fragile for a variety of reasons. The jamf binary doesn't seem to have anything related to the package cache other than `jamf installAllCached`.
Is there a better method than checking the "Waiting Room" directory?
Is there a way to tell if items are being downloaded into the cache?
Thank you in advance.