Scenario: 12 files (one every two hours) get generated with a datetime stamp in their name in a single folder. I need to make sure that each one is generated.
I have a File Monitor configured which looks for "File doesn't exist OR older than 90 minutes" configured. This works fine for the first file created that day but when the next check run it reports a failure.
I believe this is because HM is picking the first (oldest) file which matches the mask *CFMRCNOT%yyyy%%mm%%dd%*.txt and determining that it's older than 90 minutes. Is there a way to specify that HM look at the Newest File while using a mask?
Newest file matching mask?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may use %NewestFile% macro variable, e.g.:
D:\logs\%NewestFile%
Note: "Translate macros" options should be marked.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#macros
D:\logs\%NewestFile%
Note: "Translate macros" options should be marked.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... htm#macros
-
- Posts: 6
- Joined: Fri Nov 18, 2011 3:22 pm
-
- Posts: 6
- Joined: Fri Nov 18, 2011 3:22 pm