Look at the Timer and TimerTask classes, for scheduling tasks.
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 7:16 PM
To: Tomcat Users List
Subject: Scheduled task in tomcat - how?
I need to create an automated task in tomcat that gets launc
Hi,
> --- Ursprüngliche Nachricht ---
> Von: "Michael Mehrle" <[EMAIL PROTECTED]>
> An: "Tomcat Users List"
> Betreff: Scheduled task in tomcat - how?
> Datum: Tue, 17 May 2005 19:16:10 -0700
>
> I need to create an automated task in tomcat that gets launched every two
> hours or so, does its wo
I was just thinking this: IF there would be another tomcat instance running,
on a different port, then this one could issue the request and when called
back the default servlet would pick up the response. Of course that's not
what I'd like to do - wasting resources on a separate tomcat instance