[Zope] urllib timeout

FLORAC Thierry thierry.florac at onf.fr
Mon Feb 2 12:59:26 EST 2004


  Hi,

I currently use the Python urllib module to write small Python scripts which, 
launched via cron, access my Zope web site nightly to execute administration 
tasks (which can't be done throught wget).

My problem is that some of these tasks (like database packing) are now very 
long and I never see their output, even if the task is executed correctly. I 
suppose that this is because of a timeout in the "FancyURLopener" subclass I 
use.

So :
 - am I right ?
 - how can I avoid this (without using wget ?) ?  Does the 
"REQUEST.RESPONSE.write()" method can be used for that ??


Thanks for any help,

  Thierry

-- 
  Linux every day, keeps Dr Watson away...
  http://gpc.sourceforge.net -- http://www.ulthar.net




More information about the Zope mailing list