cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: execute scheduled commands in the sitemap
Date Tue, 16 Apr 2002 16:40:48 GMT
On Tue, 16 Apr 2002 18:14:15 +0200, Christian Zoffoli <czoffoli@xmerlin.org> wrote:

> Vadim Gritsenko wrote:
> > 
> > > From: root [mailto:root] On Behalf Of Christian Zoffoli
> > >
> > >
> > > Hi to all.
> > > A little strange question... Is it possible to execute scheduled
> > > commands in the sitemap ?
> > 
> > No. You want this for (say) periodic PDF reports generation, isn't it?
> > 
> 
> I want periodically update an xml-db with some infos extracted by web
> pages (found on internet).
> 
> es:
> www.pincopalla.it/meteo.html --> meteo.xsl --> update db stored into
> xindice  (on every 6:00)
> 
> 
> ...In your opinion, what kind of component I have to write ?

How about scheduling a simple command in crontab on Unix, or the
equivalent on Windows, which fires an HTTP request to your Web site,
which in turn triggers the database update? You can use curl
(http://curl.haxx.se/) to fire the request on the command line, or
something like Anteater (http://sf.net/projects/aft/) if you need more
control in case of errors.

Regards,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message