I need a custom file aging sensor that monitors a .txt file in a share folder that's older than 15 minutes. Does anyone have a sample script?


Article Comments

Hello there,

Have you already taken a look at our file sensor? This sensor shows Last modified of a defined file in a channel and you can configure according limits for it.

Please let us know if it fits your requirements.


Kind regards,
Birk Guttmann, Tech Support Team


Jun, 2021 - Permalink

We have different file names that go into the folder all day long so this wouldn't work, I'm not looking for the same file name. I need something that would allow me to just look for a file that ends with a '.txt' extension that's older than 15 minutes. Just curious is that's something that's available.


Jun, 2021 - Permalink

Hello,

In that case you need to create an according script.

Maybe the following article helps to create this accordingly.


Kind regards,
Birk Guttmann, Tech Support Team


Jul, 2021 - Permalink