I want to monitor the newest file in a windows directory and if it is older than 5 minutes i want to get an error message. Is this possible? thank you!

Kind Regards Achim


Article Comments

Hello,

yes this should be possible using the Folder Sensor and an according trigger.

best regards.


May, 2012 - Permalink

Thank you for your fast reply!

I already tried it with this but i can only choose between "older than" or "newer than" for all files in a directory. I only want to monitor the newest file in a directory and to get a message if the newest file in this directory is older than 5 minutes.

Thanks!


May, 2012 - Permalink

Thank you!

best regards


May, 2012 - Permalink

You just need to create a Threshold Trigger with:

When Newest File channel is Above 300 for at least 60 seconds perform Mail to admin

This will send an "mail to admin" if the newest file channel has a value higher than 300s (i.e. 5 minutes) for at least 60s.


May, 2012 - Permalink

That's it!!

Thank you very much!


May, 2012 - Permalink