[Zope] Periodic task in a Zope 2 environment
chris at simplistix.co.uk
Tue Feb 17 12:49:40 EST 2009
Thibaud Morel l'Horset wrote:
> What I did to solve this problem is simply create a few crons on the
> server that each do a mechanize
> (http://wwwsearch.sourceforge.net/mechanize/) http call to a specific
> location in Zope which basically acts as a private API: when called, it
> executes a function that triggers whatever needs to happen. I hard-coded
> a check that the source IP must be the specific internal address of the
> server Zope runs on. That way I know that the functions can't be called
> from the outside.
This is all extremely fragile and generally not a good idea.
Simplistix - Content Management, Zope & Python Consulting
More information about the Zope