Ant task for monitoring files

Discussion in 'Java' started by tewall@lycos.com, May 8, 2006.

  1. Guest

    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.
    , May 8, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Victor
    Replies:
    0
    Views:
    8,839
    Victor
    Sep 1, 2004
  2. david wolf
    Replies:
    1
    Views:
    928
    Juha Laiho
    Jul 22, 2006
  3. krabhi
    Replies:
    1
    Views:
    9,299
    Marco Meschieri
    Aug 9, 2006
  4. teggy
    Replies:
    0
    Views:
    817
    teggy
    May 29, 2007
  5. Replies:
    6
    Views:
    1,361
    Jean-Baptiste Nizet
    Sep 27, 2007
Loading...

Share This Page