Tres Seaver wrote:
Note that you can write scripts designed to use the ZODB, but be run
from a crontab. E.g.:
$ cat Products/foo/scripts/send_report.py
mailnost = app.site.MailHost
catalog = app.site.portal_catalog()
$ crontab -l
55 0 * * * /home/tseaver/instance/bin/zopectl
[EMAIL PROTECTED] wrote:
I have a python script running from a plone site..it takes a lot of time (1
hour maybe more)
Sounds like this shouldn't be done using a web request.
Maybe try stepper?
http://www.simplistix.co.uk/software/zope/stepper
cheers,
Chris
--
Simplistix - Content Manageme
Christian Scholz wrote:
Ok, except that this does not run under windows and it still needs to
have easy_install installed. But if there is no existing script, maybe I
write one then. I have my custom bootstrap for using the development
version of setuptools now already anway.
Ignas may have a
On Jul 23, 2008, at 7:06 AM, Ajay Deshpande wrote:
Hi all:
Ive been trying to cut objects from one context and paste them into
another using a script python. But I get a "CopyError" when I try
doing this. This is my code snippet and the traceback ...
Snippet...
...
obj = context.restrict
Daniel Nouri wrote:
Christian Scholz:
Daniel Nouri wrote:
The solution to this one is quite simple: Use virtualenv with
--no-site-packages and then use bin/python to run bootstrap.py
Ok, thanks. How do I deploy such a thing? I guess virtualenv then has
to run by the one setting up his develo
Baiju M wrote:
Christian Scholz wrote:
Daniel Nouri wrote:
>
> The solution to this one is quite simple: Use virtualenv with
> --no-site-packages and then use bin/python to run bootstrap.py
Ok, thanks. How do I deploy such a thing? I guess virtualenv then has
to run by the one setting up hi
Christian Scholz:
> Daniel Nouri wrote:
>
>>
>> The solution to this one is quite simple: Use virtualenv with
>> --no-site-packages and then use bin/python to run bootstrap.py
>
> Ok, thanks. How do I deploy such a thing? I guess virtualenv then has
> to run by the one setting up his development s
Christian Scholz wrote:
Daniel Nouri wrote:
>
> The solution to this one is quite simple: Use virtualenv with
> --no-site-packages and then use bin/python to run bootstrap.py
Ok, thanks. How do I deploy such a thing? I guess virtualenv then has
to run by the one setting up his development sa
Daniel Nouri wrote:
The solution to this one is quite simple: Use virtualenv with
--no-site-packages and then use bin/python to run bootstrap.py
Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to
run by the one setting up his development sandbox? What files can/need
to
Christian Scholz writes:
> I am trying right now to convince people to use buildout and ZCA for
> the Open Grid Protocol project but it turns out that it's not working
> as expected. So maybe somebody on here can help me :-)
>
> The setup is Mac OSX 10.5.4 with Python 2.5.1 installed and apparentl
+---[ [EMAIL PROTECTED] ]--
|
| Hello everybody!
|
| I have a python script running from a plone site..it takes a lot of time (1
| hour maybe more) but I need to run it just for data recovery if something
| goes wrong. after about 20 minutes a "Timeout on server" message
Hello everybody!
I have a python script running from a plone site..it takes a lot of time (1
hour maybe more) but I need to run it just for data recovery if something
goes wrong. after about 20 minutes a "Timeout on server" message pops up..
I tried and found where to change timeouts in zope.c
Hi there!
I am trying right now to convince people to use buildout and ZCA for the
Open Grid Protocol project but it turns out that it's not working as
expected. So maybe somebody on here can help me :-)
The setup is Mac OSX 10.5.4 with Python 2.5.1 installed and apparently a
zope.interface
13 matches
Mail list logo