Prev: Python 2.4.4 Tkinter GUI Example for Modeless Dialog with Menu, Edit, List, Buttons, File Save etc.
Next: Upgrading from Python 2.6.5 w.r.t. matplotlib/numpy?
From: Clovis Fabricio on 16 Jun 2010 18:43 2010/6/16 Vishal Rana <ranavishal(a)gmail.com>: > I am working in a django web application. > A function 'xyx' need to be called every 2 minutes. > I want one http request should start the daemon and keep calling xyz (every > 2 minutes) until I send another http request to stop it. > Appreciate your ideas. Hello Vishal! Write a small separate script to call that funcion, and use your operational system's task scheduler (i.e. cron) to call it on the requested interval. ---- nosklo |