[Seaside] Execute action once per month

Sebastian Sastre 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?
 
Sebastian


  _____  

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!

Cheers!

-Boris
(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

Hi,

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 :)

Greetz,
Peter

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
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070919/9a8bb743/attachment.htm


More information about the seaside mailing list