No, when I use the FILE spec on a directory/folder it says "File is missing" along with an "Error: Access denied".
But, to show that it's not actually a permission problem I checked a file within the directory/folder and that tests works with the FILE spec as expected.
Thanks, John
John Rothlisberger IT Strategy, Infrastructure & Security - Technology Growth Platform TGP for Business Process Outsourcing Accenture 312.693.3136 office
-----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Tuesday, January 17, 2012 12:55 PM To: Rothlisberger, John R. Cc: xymon at xymon.com Subject: Re: [Xymon] testing folder modified date on winderz?
Doesn't FILE work for directories?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Tue, Jan 17, 2012 at 1:30 PM, <john.r.rothlisberger at accenture.com> wrote:
Has anyone created an external script for BBWin which would be able to check the modification date of a folder on a Windows server?
I am looking for something similar to the FILE test where mtime<NNN but for a folder/directory.
Thanks,
John
John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
Accenture
312.693.3136 office
Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
www.accenture.com
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
www.accenture.com