> This has to be done independently of the activity of the users on the web 
> application
Whats not clear to me is if you will be updating a UI or not... unless you are, 
then why use JavaScript? Use IoC and 
java.util.concurrent.ScheduledExecutorService to create a scheduler service 
with a runnable to work as a background thread.

Example here:
http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ScheduledExecutorService.html

Cheers,
Peter

----- Original Message -----
From: "Mite" <mitemeis...@gmail.com>
To: users@tapestry.apache.org
Sent: Wednesday, 1 September, 2010 01:25:15 GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Call function periodically


I need to have a function called every one minute from the moment the
application is deployed on the server, that does some database row updates.
This has to be done independently of the activity of the users on the web
application. Even if there are no users using the application, this call has
to be done.
Is there any way of doing this in Tapestry5?

Thank you
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Call-function-periodically-tp2798762p2798762.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to