Just a quick question about the above subject. Basically, I’m writing a piece of software which captures data from the network and writes it to an external file for further processing.
What I want to know is what code would be the best to use in order to get this desired effect.
Thanks for your time
David
I’d probably implement it using a TimerTask. E.g.,
Otherwise quarts is a powerful java scheduler which is capable of handling more advanced scheduling needs.