Re: Django and daemon?

2006-05-31 Thread spacedman
DavidA wrote: > An alternative that stays inside Django is to setup a trigger in cron > (or NT's Task Scheduler) that gets a URL every few minutes and the view > code for that URL does the email processing you mention. You avoid > creating a true daemon/service just by "waking" up periodically

Re: Django and daemon?

2006-05-31 Thread Wade Leftwich
DavidA wrote: > > Russell Blau wrote: > >>Ahh, thanks, it always helps to take the blinders off. The only downside is >>that I have to learn how to use yet another software package. ;-) > > > An alternative that stays inside Django is to setup a trigger in cron > (or NT's Task Scheduler)

Re: Django and daemon?

2006-05-31 Thread DavidA
Russell Blau wrote: > Ahh, thanks, it always helps to take the blinders off. The only downside is > that I have to learn how to use yet another software package. ;-) An alternative that stays inside Django is to setup a trigger in cron (or NT's Task Scheduler) that gets a URL every few

Re: Django and daemon?

2006-05-30 Thread Russell Blau
"spacedman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Wouldn't it be better to setup 'procmail' to process incoming emails as > they arrive. Then your procmail script could update the database. Ahh, thanks, it always helps to take the blinders off. The only downside is

Re: Django and daemon?

2006-05-30 Thread spacedman
Wouldn't it be better to setup 'procmail' to process incoming emails as they arrive. Then your procmail script could update the database. As long as you are using a decent database server (*cough*POSTGRES*cough*) then concurrency shouldnt be a problem.

Django and daemon?

2006-05-30 Thread Russell Blau
I'm kind of a newbie at this (web applications, that is, not Python programming), so I'd appreciate any advice others can offer. I'm developing a Django app (post-M-R) that will communicate by email with some remote hosts (which are running archaic software that can't easily be updated to use