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
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
I need to create an automated task in tomcat that gets launched every two
hours or so, does its work and then sleeps again. The task needs to send
some request values via a secure (https) POST to a cgi script running on an
outside server, then receive the response, parse it and put it into the
data
t instance would
be my very last resort...
Michael
- Original Message -
From: "Michael Mehrle" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, May 17, 2005 3:32 PM
Subject: Scheduled task in tomcat - how?
I need to create an automated task in tomcat
I need to create an automated task in tomcat that gets launched every two
hours or so, does its work and then sleeps again. The task needs to send
some request values via a secure (https) POST to a cgi script running on an
outside server, then receive the response, parse it and put it into the