How do I obtain the File Creation Date from Mac OS X using FileInfoReturn as a Custom Inventory Field?
I am attempting to use FileInfoReturn on a client running Mac OS 10.6.8 with K1000 Agent 5.3.53177. I am not able to obtain the file creation date at all. I have tried the following arguements: creation_time, modification_time and access_time. Each of these appears to have the same fundamental flaw; they function as access_time.
EXPECTED COMMAND SYNTAX
FileInfoReturn(/Library/Application Support/3rdPartyApp/licence.xml,creation_time,DATE)
LIST OF BUG MANIFESTATIONS
Regardless of the arguement used the Custom Inventory Field is updated with the current date and time each time the Invetory Update is ran. The Modified date and Accessed date are updated on the client computer (e.g. the file was "touch"ed). None of the arguements act as the creation_time is expected to by returning the Created date from the file on client machine.
Answers (1)
Try CreatedDate instead of creation_time.
If that doesn't work, there may be a different problem: http://www.faqs.org/faqs/unix-faq/faq/part3/section-1.html
In either case, see if you can duplicate it on a different file. If so, open up a support ticket at https://support.kace.com so it can be looked into.
Comments:
-
Did this work? - jknox 12 years ago