1

We have applications that integrates to other applications through files exchanging. We needed to be able to be notified on the following situations:

  • Files are accumulating on a certain folder, reaching a defined number of accumulated files;

  • A file is present on a folder without being taken by the app for more than a specified number of minutes;

  • A folder has been empty with no file movement for more than a specified number of minutes;

Is there any tool for Windows that would allow me to set e-mail alerts upon those events? Preferrably a free one :)

I believe this might be a stupid question, but I swear I tried to google it for two days and I came up only to the wrong tools, or tools too difficult to learn.

Thanks a lot in advance.

Cheers,

Jonathas Carrijo

1 Answers1

2

On Linux you can use inotify and dnotify to monitor the folders and have a script that is doing what you need. Take a look on incrond too.

On Windows you could write a powershell script and use FileSystemWatcher Class.

See also: https://stackoverflow.com/questions/3517460/is-there-anything-like-inotify-on-windows

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83