[Seaside] Execute action once per month
ssastre at seaswork.com
Wed Sep 19 12:42:30 UTC 2007
By "servlet", in seaside, you mean what exactly? to touch by http a
localhost seaside application that makes that call?
De: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] En nombre de Boris Popov
Enviado el: Miércoles, 19 de Septiembre de 2007 05:06
Para: seaside at lists.squeakfoundation.org
Asunto: Re: [Seaside] Execute action once per month
You could also use external schedulers like cron to call certain functions
in your application and let it be someone elses problem as they already have
all facilities for this kind of thing. Just have a servlet that understands
a few commands, params etc then curl your commands from a cron job. Voila!
(Sent from a BlackBerry)
----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org
<seaside-bounces at lists.squeakfoundation.org>
To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: Wed Sep 19 01:01:28 2007
Subject: Re: [Seaside] Execute action once per month
What about using a timer and let it be a thread in your image. Every
x-seconds (or x months) it calls a method, maybe one that sends emails.
That's the way we did in a project for cleaning a database periodically.
Just using the functionality of the image :)
Oleg Richards schrieb:
> Hello Guys!
> I would like to know how can my seaside application automatically
> execute action (i should open period report) once per month? How can i
> do it?
> Cheers, Oleg
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
Seaside mailing list
Seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside