Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Folder monitoring

$
0
0

Hey guys,

I’d like some ideas on how to achieve a script for the following:

I have a folder where some log files are constantly being modified (by another script, which isn’t relevant here).
I’d like to monitor this folder and trigger an alarm (by email, for example) if any of the files contained isn’t modified for more than some time (say, 8 hours).
Any ideias how to build this?

submitted by /u/jonaskid
[link] [comments]

The post Folder monitoring appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles