RE: [Zope] Running a process in the background
About having some background thread running, and interacting with it, you should have a look at this products source code (very few files) : + TimerService 0.2 + ZopeScheduler 0.2 from http://dev.legco.biz/downloads Pascal -----Message d'origine----- De : zope-bounces@zope.org [mailto:zope-bounces@zope.org]De la part de Will Smith Envoyé : mardi 14 décembre 2004 16:15 À : zope@zope.org Objet : [Zope] Running a process in the background I currently have a zope product that can download files from another server. The only problem is that while the file/files are downloading the web client is stuck looking at nothing. My goal is for the user to be able to click the "do download" button. At this point the user is given a status page that says "download running" and then be able to continue using the site. Since I know the filesize before the download starts I would love to able to do a status page "download 58%". Another caviate to this process, is that it needs to be able to run on Linux and Windows. I realize this is really a python specific question, but was hoping that someone has implemented something similar on thier zope site. Thanks in advance Will Smith _______________________________________________ Zope maillist - Zope@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 ) ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
participants (1)
-
Pascal Peregrina