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
XXX.XXX.XXXX office
-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Tue, Jan 17, 2012 at 1:30 PM, <user-7adce57665bb@xymon.invalid> 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
XXX.XXX.XXXX 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
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