Ant task for monitoring files

T

tewall

I'd like to monitor files coming to a certain directory. The idea is
that if too many or two few of a given file arrive, an email would be
sent off. What Ant tasks should I be looking at to do this?

This should be clear, but just in case it isn't, say there a file which
would match the spec "MyFilexxxx.csv" where xxxx varies. The
monitoring checks and sees that there are over 6 files in the
directory, which is too many (say 5 is the limit), so it sends out an
email stating the the monitoring condition has failed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top