Date of Youngest File in Folder

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
terje
Posts: 88
Joined: Mon Jul 25, 2005 7:45 pm
Location: Sydney

Date of Youngest File in Folder

Post by terje »

I want to receive an alert if a specific folder does not contain any file that was modified in the last two weeks.

In essence the test needs to look at the modified date of the youngest file in the folder and ensure that it is no more than two weeks old.

Any clues on how I might achieve such a test?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Use "Count Files" test method with following options:
- Count files newer than 20160 min
- Alert when folder contains more than 0 files
- Reverse alert

Regards
Alex
Post Reply