I don't think there is a simple Struts mechanism for this. You will probably 
need to invoke a separate thread that monitors the time, and when you hit 
2:00am, you could invoke an action programmatically... having said that, I'm 
not sure why you would need the action to be a struts action, as there would 
not be a client involved.

Andy


>From: Jose Carlos Rubia Raya <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Programmed Actions With Struts Applications
>Date: Thu, 21 Mar 2002 16:48:00 +0100 (CET)
>
>I'm developing an application with Struts and I need
>that my application every night at 2:00AM executes an
>action. That action consists in a query to the DB
>and before it executes a serie of intruccions
>depending of the data of the DB.
>How can I made it?
>I have no idea how to made it.
>
>_______________________________________________________________
>Do You Yahoo!?
>Yahoo! Messenger
>Comunicaci�n instant�nea gratis con tu gente.
>http://messenger.yahoo.es
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to