Re: detecting a new file

2005-12-27 Thread Jeremy Thomerson
ld work just as well. Jeremy Thomerson - Original Message - From: "Wade Chandler" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, December 26, 2005 9:15 PM Subject: Re: detecting a new file --- Khawaja Shams <[EMAIL PROTECTED]> wrote: Hello all

RE: detecting a new file

2005-12-26 Thread Wade Chandler
--- Daniel Blumenthal <[EMAIL PROTECTED]> wrote: > A related question to this is, how can you set up a > process within the > servlet that fires off at X time, or every Y > seconds? The equivalent of a > cron job inside the servlet. > > If you have high enough traffic, there's an easy > hack - j

Re: detecting a new file

2005-12-26 Thread Wade Chandler
--- Khawaja Shams <[EMAIL PROTECTED]> wrote: > Hello all, > I am curious if anyone has ever had to write a > servlet that listens for > new files on the server and processes them upon > appearence. Basically, I > need to write a server side program that detects > when (our automated > process

RE: detecting a new file

2005-12-26 Thread Daniel Blumenthal
A related question to this is, how can you set up a process within the servlet that fires off at X time, or every Y seconds? The equivalent of a cron job inside the servlet. If you have high enough traffic, there's an easy hack - just store a Date object as a servlet-level attribute, and check on