Ok, thanks. I'll give it a try :-)
W dniu 14 maja 2009 11:40 użytkownik Daniel Roseman
napisał:
>
> On May 14, 10:03 am, Filip Gruszczyński wrote:
>> > Best practice here would be to stop trying to use a webserver to do
>> > things it wasn't
On May 14, 10:03 am, Filip Gruszczyński wrote:
> > Best practice here would be to stop trying to use a webserver to do
> > things it wasn't intended for.
>
> > If you need a separate process/thread to run regularly and perform
> > some background processing, then put that
> Best practice here would be to stop trying to use a webserver to do
> things it wasn't intended for.
>
> If you need a separate process/thread to run regularly and perform
> some background processing, then put that code in a standalone script
> and use a crontab entry to invoke the script.
2009/5/14 Filip Gruszczyński :
>
> I would like to run additional process apart from the main server
> thread, so it would periodically perform some operations (basically
> check, if it should some info mails). Are there any best practices in
> Django at which point to start
I would like to run additional process apart from the main server
thread, so it would periodically perform some operations (basically
check, if it should some info mails). Are there any best practices in
Django at which point to start this thread and use it? Or can I simply
run a new thread from
5 matches
Mail list logo