[Seaside] Execute action once per month

Boris Popov boris at deepcovelabs.com
Wed Sep 19 13:22:46 UTC 2007


I meant a VisualWorks servlet, but you could make a Seaside app as well and just look at the URL to determine actions, either way.

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 05:42:30 2007
Subject: RE: [Seaside] Execute action once per month

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/dd4c9bab/attachment.htm


More information about the seaside mailing list