[Zope] Unrestricted threads
Eric Bréhault
ebrehault at gmail.com
Tue Jul 22 13:43:30 EDT 2008
Hello Thierry,
To schedule cron-like tasks on Zope, I use ZpCron:
http://www.zope.org/Members/janik/ZpCron
It works pretty fine (well, as far as you do not use ZEO) and it
allows to define the user you want to use to run such or such task,
and the Zope security mechanisms are applied just like if the user had
run the task himself.
Normally, the user is supposed to be in the Zope root acl_users, but a
colleague of mine had proposed a patch (which is published in beta
080314) which allows to use a user define the path of the acl_users
you want to use.
Regards,
--
Eric BREHAULT
Makina Corpus
www.makina-corpus.com
Agence de Toulouse - 09 64 36 57 57
On Tue, Jul 22, 2008 at 7:23 PM, Thierry Florac <thierry.florac at onf.fr> wrote:
>
> Hi,
>
> I use Zope-2.9.9.
> I need to create custom "cron like" threads in an application to handle
> administrative tasks.
> Global setup of these threads is already OK.
>
> So my question is : how can I setup these threads so that they can
> handle database objects in an unrestricted way (eventually throught an
> authentication mecanism) ?
>
> Thanks for any help,
>
> Thierry Florac
> --
> Chef de projet intranet/internet
> Office National des Forêts - Département Informatique
> 2, Avenue de Saint-Mandé
> 75570 PARIS Cedex 12
> Mél : thierry.florac at onf.fr
> Tél. : +33 01.40.19.59.64
> Fax. : +33 01.40.19.59.85
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list