Hi there, is there a way to get an extension attribute in Jamf to report a target file's last modified date?
Solved
Extension Attribute to check file modified date
Best answer by DTB_Kirky
Appears to be working when ran from terminal or from script/policy in Jamf but as an extension attribute it doesn't collect any data.

You need to wrap the output for all extension attributes with <result> & </result>
So your last command should be: echo "<result>$datemodified</result>"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


