Paul,

 PB> On Jul 23, 3:50 pm, Andrey Khavryuchenko <[EMAIL PROTECTED]> wrote:
 >> Paul,
 >> 
 PB> Are there any better approaches? I'm sure someone has needed
 PB> background tasks liked spidering, querying whois, downloading
 PB> images,... before, without stalling the whole process.
 >> 
 >> I'm using plain cron jobs that do regular jobs.  There are plenty of
 >> example snippets describing how to set up necessary environment.

 PB> How do you get data to and from them ? I don't need scheduled tasks,
 PB> but background tasks.

Pretty everything these scripts need is in the db.  So I use regular Django
ORM and the rest of data is passed via cmdline params.

 PB> The jobs are running just a few seconds and i need quick response

How you're going to serve the results of these jobs to a user?

-- 
Andrey V Khavryuchenko            
Django NewGate -  http://www.kds.com.ua/djiggit/
Development - http://www.kds.com.ua 
Call akhavr1975 on www.gizmoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to