Re: Timer gets stuck



On 7 Feb 2006 08:50:11 -0800, hagarwal@xxxxxxxxxxxxxxxxxx wrote,
quoted or indirectly quoted someone who said :

I have a TimerTask that downloads e-mails from a POP service, and
processes them. I am using a Timer class with initial delay and period
of 5 seconds.

I think you are hammering rather too often. Try every 60 or 600
seconds. the problem could be at the other end getting pissed with or
confused by two simultaneous logins from the same user.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages